Resources  
  • Count Elements in a Given Range Using Sorting and Binary SearchJun 06, 2026. This problem involves finding the number of elements in an unsorted array that lie within a given range [a, b] for multiple queries. A naive approach would check each element for every query, resulting in high time complexity. A more efficient solution uses sorting and binary search: Sort the array to enable fast searching. For each query [a, b]: Use a lower bound search to find the first element = a. Use an upper bound search to find the first element > b. The difference between these indices gives the count of elements in the range. This approach significantly reduces time complexity to O(n log n + q log n) while keeping space usage minimal. It’s a classic example of combining sorting with binary search to handle range-based queries efficiently.
  • Unit Testing: Non-Generic Collections in MSTestOct 07, 2025. Struggling to unit test non-generic collections like ArrayList in MSTest? This article highlights a common pitfall: attempting to use Assert.Contains with incompatible types. Learn why the example code fails to compile and discover effective strategies for verifying the contents of non-generic collections using MSTest's assertion methods. We'll explore type checking and alternative approaches for robust unit testing.
  • How to Add or Change the Owner of a Synchronized Microsoft 365 GroupAug 24, 2025. Learn how to add or change the owner of a synchronized Microsoft 365 group by modifying the 'Managed By' attribute in Active Directory and syncing with Entra Connect.
  • What is the difference between ArrayList and LinkedList in Java?Aug 09, 2025. Learn the in-depth differences between Java's ArrayList and LinkedList with practical code examples, performance considerations, and use-case analysis. This article will help Java developers choose the right list implementation for their needs.
  • Speed Up Docker Desktop: Latest Performance UpgradesJun 22, 2025. Discover how Docker Desktop boosts speed on Mac, Windows, and RHEL with new virtualization, file syncing, and real-world dev performance gains.
  • Merging Two Arrays in Java with CodeJan 22, 2025. This article explores merging arrays in Java, covering efficient techniques like `System.arraycopy()`, manual iteration, Java Streams, and ArrayList, with code examples to suit various programming needs.
  • The AbstractList Class and ArrayList Class in Java CollectionJul 29, 2024. The AbstractList class in the Java Collections Framework provides a skeletal implementation of the List interface, enabling developers to create custom list implementations with ease. It offers default implementations for some list operations, allowing focus on specific aspects of the custom list.
  • Synchronizing Threads with AutoResetEvent in C# .NETJun 23, 2024. In multithreaded C# applications, synchronizing thread execution is crucial to avoid race conditions and ensure controlled access to shared resources. The AutoResetEvent class helps manage this by acting like a gate, blocking threads until signaled.
  • Difference Between Array and ArrayListDec 01, 2023. Here in this article, we are going to explain the difference between Array and Arraylist.
  • The Race Condition in Thread SynchronizationSep 24, 2023. In my Last Article “Thread synchronization in Java” we have discussed the concept of monitor. A monitor can be compared to a small box that can only carry one thread at once.
  • List In KotlinSep 04, 2023. In this article, we delve into Kotlin's Lists, fundamental in managing collections of items. Learn about Immutable and Mutable Lists, key methods, and their practical use cases.
  • How to check if an array contains a specific element in C#Apr 24, 2023. in this article, you will learn How to check if an array contains a specific element in C#
  • Synchronizing Databases Using Microsoft Sync FrameworkApr 12, 2023. In this article, you will learn how to synchronise Databases Using Microsoft Sync Framework.
  • What Is The Difference Between An Array, ArrayList And A List?Apr 04, 2023. In this article, you will learn when to use an Array, ArrayList, or a List in C#.
  • ArrayList In JavaJan 30, 2023. In this post, we're going to understand how we can use the ArrayList class in Java to store a list of elements
  • How to use ArrayList in JavaJul 26, 2019. The tutorial explains everything about ArrayList in Java. Learn how to use Java ArrayList methods and properties.
  • Difference Between Array And ArrayList In C#Nov 16, 2018. In this article, we will see the basic differences between an Array and an ArrayList.
  • Rectify The Solution Error For Synchronizing Microsoft Identity Manager SP1 With SharePoint 2016Apr 27, 2017. Rectify The Solution Error For Synchronizing Microsoft Identity Manager SP1 With SharePoint 2016.
  • Create Synchronization Connection To Synchronize SharePoint User Profiles With Active DirectoryFeb 23, 2017. In this article you will learn how to create Synchronization Connection to synchronize SharePoint User Profiles with Active Directory.
  • SharePoint Online - Creating Calendar App And Synchronize A SharePoint Online Calendar With OutlookFeb 02, 2017. In this article, you will learn how to create a Calendar app and synchronize a SharePoint Online Calendar with Outlook.
  • How To Synchronize Windows 10 Time With The Internet Time ServerNov 11, 2016. In this article, you’ll learn about how to synchronize Windows 10 time with the Internet Time Server.
  • User Profile service application in SharePoint 2013Aug 27, 2015. This article explains how to synchronize an AD Services userprofile with groups in SharePoint 2013.
  • An Extensive Examination Of ArrayList in C#Mar 13, 2015. In this article we will learn about ArrayList in C#.
  • Array and ArrayList in C#Oct 08, 2014. In this article we learn what an array object and ArrayList are in C#.
  • Synchronize Sitefinity to SharePointJan 25, 2014. This article describes the built-in SharePoint Connector for Sitefinity.
  • ArrayList in C#Dec 19, 2013. In this tutorial, learn C# ArrayList class and most commonly asked questions about C# ArrayList.
  • Array, ArrayList, List and Dictionary in ASP.NetNov 27, 2013. This article attempts to explain Array, ArrayList, List and Dictionary with very basic examples; once you go this article I hope the next time you will feel a little more comfortable deciding what to choose and why.
  • Keywords in JavaSep 26, 2013. This article explains some important keywords in Java.
  • How ArrayList Class In Java Collections Are UsedMay 31, 2013. This article describes how the ArrayList class in Java Collections work.
  • Var Keyword In C#Apr 26, 2013. C# var keyword is used to declare implicit type variables. Let's learn what a var is in C# and when to use a var in C#. This blog explains the C# var keyword, showcasing its use in implicit typing, arrays, ArrayList, and LINQ for flexible, type-safe, and readable code development.
  • Learn About ArrayList in C # (Part 2)Apr 25, 2013. This article provides examples of two methods to browse an ArrayList.
  • Learn About ArrayList in C#: Part 1Apr 25, 2013. ArrayList is a dynamic array that can be resized when we declare indefinite number of elements in the array.
  • Language Integrated Query (LINQ): Part 3Sep 03, 2012. In this article, you will learn something about Generic collections such as what they are and why we need them in LINQ.
  • Disable Synchronized User Settings In Windows 8Jul 23, 2012. This article describes how to disable Sync User Settings in Windows 8.
  • How to do Synchronizing in QTP in TestingJul 14, 2012. In this article we discuss how to do synchronization in QTP in testing.
  • SoapFormatter in C#Jul 08, 2012. Learn to serialize and deserialize objects using SOAPFormatter in .NETFramework. Understand the usage of the IFormatter interface with Serialize and Deserialize functions. Implement serialization with FileStream and SoapFormatter. Ensure proper file handling for serialization and deserialization.
  • C# ArrayListJun 08, 2012. C# ArrayList class is a collection class. In this article, learn how to work with ArrayList in C#.
  • Synchronized Block in JavaMay 14, 2012. In this article we are going to discus synchronization in Java. Now we are only discussing where and how we use a Synchronized block in Java.
  • Uploading Multiple Files With ListBox in ASP.NETMay 01, 2012. This article explains how to upload multiple files using a ListBox control in ASP.NET. Unlike the standard FileUpload control, which supports single file uploads, this method combines FileUpload with a ListBox for easier file management.
  • Working With Synchronization in JavaJan 27, 2012. You can use a synchronized block in Java. Here I will explain how to use the java.lang.Object class in Java.
  • BinarySearch, Sort And Reverse Method of ArrayList in C#Jan 10, 2012. The ArrayList class provides a number of properties and methods that are used to work with an ArrayList. Here we see how to BinarySearch, Sort, and Reverse an ArrayList in C#.
  • Synchronizing Threads in a Multithreaded Application in .Net - C#Jul 26, 2011. Here you will see synchronization of threads in a multithreaded application in .Net.
  • Retrieve all images from a folder and display them using a DataList controlMar 08, 2011. With the use of the code provided here you can retrieve all images from any folder and display them in the form using a DataList control of ASP.Net.
  • ArrayList in C#Jan 21, 2010. This article discusses how to use ArrayList class in C#.
  • Collections in C#: ArrayList and ArraysOct 10, 2009. This article explains the Collection classes in .NET. This first part explains the ArrayList class, advantages, disadvantages and differences with Array.
  • Generics in C# 2.0Apr 17, 2006. In this article, I specifically talk about Generics and how they improve upon arraylists and how they solve the issues posed by ArrayLists.
  • Limitations of ArrayLists in C#Apr 13, 2006. This article discusses some features of ArrayLists and there shortcomings/limitations.
  • Designing Sortable Collections using IComparableNov 21, 2005. .NET Framework Class Library provides several interfaces to support additional functionality in collections such as ICollection, IList, and IComparable. IComparable interface is used to support the sorting in collections.In this article, I will discuss how to use IComparable interface to design sortable arrays.
  • Binding an ArrayList with DataGrid ControlOct 24, 2005. I have seen several questions on how to bind an ArrayList with data-bound controls such as a DataGrid. In this step by step tutorial, I will show how to create an ArrayList of objects and bind it to a DataGrid control.
  • How do I Convert a String to an Enum Value?Sep 10, 2005. In this How do I, you will learn how to convert a string to an enum value in C#.
  • How to Interpret Handwriting with C#Sep 02, 2005. In this article, I'll try to explain how to recognize handwriting with C# and GDI+.
  • Sokoban Pro Game in C#Jan 21, 2005. Sokoban Pro is a modern version of the classic Sokoban puzzle game. The game rules are extremely simple, yet the game is very challenging and addictive. The rule of the game is to move all the boxes in the right places. You can only push a box, not pull.
  • How to synchronize data in Pocket PC and main databaseOct 06, 2004. The main objective of the article is to present how to synchronize the data between the Pocket PC database and main database using Pocket PC Emulator and Web Service in .NET
  • Thread Safe Collections ArrayList and QueueSep 24, 2004. The attached project provides a dll containing a wrapper around the non-thread safe ArrayList and Queue classes. The wrapper implements the most common functions of this collection elements.
  • Handling the Queuing of Messages in a Multithreaded ProgramSep 06, 2004. In the financial world you have to deal with messages being spewed at you in large quantities at a rapid rate. For example stock quotes, market data, and orders come flying at you through some sort of wire and you as a programmer have to handle them in a way that doesn’t overwhelm you or the machine.
  • Object Binding in DataGrid with C#Jun 15, 2004. In this article, I will discuss how to bind objects such as an ArrayList to a DataGrid control using C#.
  • Line Count UtilityJun 12, 2004. Program returns count of code lines and file names in which code lines will be counted.
  • Shopping Cart Application in ASP.NETApr 22, 2004. This is an online shopping cart application written in ASP.NET and C# where user can browse, add items to the shopping cart and place orders.
  • Audio Video Modules for ASP.NET Community Starter Kit : Part IIJan 19, 2004. In this article, we will build an additional module for ASP.net CommunityStarterKit that enables you to publish audio and video contents. This module works together with Windows Media Services and it is written in C#. You have to install CommunityStarterKit (C# version for VS) to follow this article.
  • In Depth ASP.NET using ADO.NET: Part IIINov 18, 2003. In this article we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • In Depth ASP.NET using ADO.NET: Part IINov 18, 2003. In this article we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • In Depth ASP.NET using ADO.NET: Part IVNov 18, 2003. In this tutorial we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • Lingo Game in C#Jul 30, 2003. It is a Lingo game developed in C#. It is based upon Game Show Network's Lingo but has a few modifications to it.
  • Boxing and Unboxing of Value Types : What You Need to Know?Jul 21, 2003. Programmers new to C# can encounter less than ideal performance and even unexpected results due to boxing and unboxing of value types.
  • Synchronized Threading in .NETDec 11, 2002. Threads are a powerful abstraction for allowing parallelized operations: graphical updates can happen while another thread is performing computations, two threads can handle two simultaneous network requests from a single process, and the list goes on. Since threads are pretty simple to understand, conceptually, but, practically, they are a cause for programmatic headaches, I decided to write this program to describe how to make use of threads.
  • Consumer/Producer Multithreaded ProgramNov 04, 2002. This is simple multi-threading program that adds and removes elements in an ArrayList. Producer button will creates a producer thread that adds elements in to the ArrayList. The maximum number of elements can be added to this ArrayList are 100 elements and the producer thread has to wait until the consumer thread/threads (creates by pressing consumer button) removes elements from the ArrayList. Then Producer thread starts to add more elements to the ArrayList.
  • Generating Maze using C# and .NETSep 25, 2002. Did you ever get the feeling that cubicles were laid out with the idea that there could be no escape? (Must be I am a bit overworked these days). Today's article focuses on how to generate a maze using the depth first search algorithm. This is a very simple but clever algorithm that creates a maze by randomly stripping one available wall between two cells for every cell in the grid.
  • An XY Plot User Control in GDI+May 24, 2002. This is a follow up of the article written originally for the beta version of .NET. called, A Graphics Component in C#.
  • Reflecting Data In .NET Classes - Part IV - From Database TableApr 08, 2002. In this segment of "Reflecting Data In .NET Classes," Part IV focuses on generating .NET classes from database tables. Utilizing reflection, it maps database schema to object-oriented structures, enabling seamless data access and manipulation within the .NET framework.
  • Mortgage Calculator in C#Mar 22, 2002. Mortgage Calculator is a C# Application developed for calculating the detailed monthly mortgage payments based on the loan amount, down payment, interest rate, mortgage duration.
  • Returning an Array Listing using Remote Procedure CallDec 26, 2001. Returning an array listing via Remote Procedure Call (RPC) involves serializing the array on the server, sending it to the client, then deserializing it. Client invokes RPC, server processes the request, and transmits the array back to client for further handling.
  • Horoscope Unit of Mobile SiteSep 06, 2001. Horoscope Service for Your Mobile.
  • Displaying Exception InformationAug 21, 2001. This is a simple utility to display exceptions. Each exception in the chain is added to an ArrayList and displayed in reverse order in a ListView control.
  • Messaging between Threads using Message LoopAug 20, 2001. MessageLoopLib is a stripped down version of a complete, threading communication subsystem Ive written. This implementation is a single thread created in the GUI constructor. Ive dropped all thread management and have had to change some of the message code to accommodate this.
  • Get the Place Game in C#Aug 14, 2001. I have written a game in C# called Get the Place.
  • Add/Remove User Control for C#Jan 18, 2000. A nice feature in the Visual.NET environment is the ability to create User Controls.