C# Corner

Resources  
  • Editing, Deleting, Sorting and Paging in DataGrid Web ControlAug 08, 2001. The following article is about techniques for editing, deleting, sorting and paging using web Datagrid control.
  • Sorting, Searching and some other useful programsSep 07, 2001. Here are the some useful programs including many search algorithms, sort, palindrome, fibonacci...
  • using Array Class and IEnumeration in C#Sep 14, 2001. This article illustrates the usage of Array class and IEnumerator. Array class Provides methods for creating, manipulating, searching and sorting arrays, thereby serving as the base class for all arrays in the common language runtime.
  • IComparable: Under the HoodSep 21, 2001. We now calling Array.Sort() on C# Types such as int, char, string will automatically do sorting based on that type.
  • Sorting Object Using IComparer and IComparable Interfaces Mar 01, 2002. The System.Collections namespace contains interfaces and classes that define various...
  • Multithreading Part I: Multithreading and MultitaskingApr 08, 2002. In this and a series of articles that would follow, we would learn about threads and how to write multi-threaded programs in C#.
  • DNS Resolver using DNSAPI.DLLApr 15, 2002. This is a DNS resolver using the dnsapi.dll, it can do all sorts of DNS lookups and not just simple a record lookup like the Dns class in the .NET framework.
  • Sorting MultiColumn ListView Windows Forms ControlMay 20, 2002. If you want to sort on the first column of a ListView, simply click the Sorting in the properties Window and choose Ascending or Descending as a value. If you want to do sorting in all the columns of a ListView, you need to write custom sorting using the ListViewItemSorter property.
  • Programming C#: Working with Arrays in .NETJul 09, 2002. This article concentrates on arrays in .NET and how you can work with arrays using C# language. Article also covers the Arrays class and its method, which can be used to sort, search, get, and set an array items.
  • Working with Arrays in C#Jul 09, 2002. This tutorial discusses array programming in C# and .NET. It starts with the discussion of simple arrays and then delves into more complex topics such as jagged and multi-dimensional arrays. In the end, it discusses the Array class and it's methods for searching and sorting an array's items.
  • DataGrid Customization Part-II: Custom Sorting and DataGrid Column HidingAug 13, 2002. How to I get the name and index of the Column headers? How do I find out if mouse click right click was on a column
  • DataGrid Customization Part-IV:Exchanging a DataGrid Columns using Drag and DropAug 21, 2002. This article covers customized sorting and a DataGrid column hiding programmatically.
  • Sorting using MultithreadingNov 13, 2002. This is simple multithreading application that sort integers values in an array.
  • Histogram Code in C#Apr 01, 2003. C# histogram class maintains a histogram of input data. Input data is sorted into bins and a count is kept of how many data points fall into each bin.
  • Sorted List and Web Server ControlJun 09, 2003. This article shows you to take advantage of SortedList in data binding with Web Server controls.
  • Display Sorted Records in Crystal ReportsOct 03, 2003. This article shows you how to use Crystal Reports options to sort a report records.
  • Memory Management in .NETNov 17, 2003. This tutorial describes Memory Management in .NET.
  • Display Alphabetically Sorted Data in a Data GridDec 24, 2003. This code sample shows you how to display data sorted alphabetically based on the values in the database.
  • DataSets in Microsoft .NET - Part 2Mar 09, 2004. This article explains sorting, searching and filtering support provided by dataset and data table objects.
  • User Registration with PayPalJun 28, 2004. This article summarizes how to perform a user registration process which requires payment and how to integrate that with PayPal. This sort of process would exist on a web form where you want to charge for registration.
  • 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.
  • How Count Sort worksJan 15, 2005. Count Sort is Linear Sorting algorithm which sorts elements in O(n) time , the other linear sorts include Bucket and Radix sorts.
  • Designing Sortable Collections using IComparableNov 21, 2005. If you are dealing with collection of objects, there are times when you need to sort the object collection. In this article, I will discuss how to use IComparable interface to design sortable arrays.
  • Algorithm to Normalize and Sort FilesDec 20, 2005. A program which do all the sorting work for you. This program is just for Windows, I am working on a Mono Version for Linux.
  • Garbage Collector AlgorithmDec 22, 2005. This article explains how garbage collector algorithm works in order to clean managed heap.
  • Types of VariablesJan 14, 2006. In this article we'll cover the behaviors of variables to Reference Types.
  • C# Heap(ing) Vs Stack(ing) in .NET: Part IJan 14, 2006. Even though with the .NET framework we don't have to actively worry about memory management and garbage collection (GC), we still have to keep memory management and GC in mind in order to optimize the performance of our applications.
  • C# Heap(ing) Vs Stack(ing) in .NET: Part IIIJan 15, 2006. Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article we’ll cover an issue that arises from having reference variables in the heap and how to fix it using ICloneable.
  • C# Heap(ing) Vs Stack(ing) in .NET: Part IIJan 15, 2006. Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article I'll cover some of the behaviors we need to be aware of when passing parameters to methods.
  • C# Heap(ing) Vs Stack(ing) in .NET: Part IVJan 30, 2006. Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article we’ll look further into Garbage Collection (GC) and some ways to keep our applications running efficiently by using static class members.
  • Two way sorting of Web DataGridFeb 02, 2006. In this article we will see how to implementing two way sorting i.e ascending and descending of a datagrid in ASP.NET.
  • The C# Value Type and BoxingFeb 17, 2006. Even though with the .NET framework we don't have to actively worry about memory management and garbage collection (GC), we still have to keep memory management and GC in mind in order to optimize the performance of our applications. One of the things we need to be aware of is how the Common Language Runtime (CLR) deals with references to value types.
  • Add some elegance to your code using C# ListMar 31, 2006. A short and to-the-point tutorial that demonstrates how to sort and search using List in C#.
  • Sorting Collection of Custom Type using GenericJul 06, 2006. This article shows a simple and easy way to sort the business object collection using generic.
  • Building Custom Paging Web FormAug 21, 2006. Sometimes we may need to build our own data objects instead of using DataSets & DataTables. But in this case, we will lose all paging and sorting facilities that is represented using DataSets & DataTables. To overcome this small issue we'll have to write our own custom paging feature as well as with sorting.
  • Flash Player Custom Control for ASP.NET 2.0Dec 05, 2006. This article describes a quick and simple approach to creating a custom web control used to display shockwave flash files within an ASP.NET page. Whilst the article and demonstration project are focused upon displaying a shockwave flash (SWF) file, the basic idea is applicable to any sort of object that you may wish to embed within an ASP.NET 2.0 page.
  • Upload any type of File through a C# Web ServiceMay 04, 2007. This article shall describe an approach that may be used to upload any sort of a file through a web service from a Windows Forms application. The approach demonstrated does not rely on the ASP.NET file uploader control and allows the developer the opportunity to upload files programmatically and without user intervention.
  • Implement Sorting in Reports using Report ViewerMay 10, 2007. This article shows how to implement sorting on columns in a report using Report Viewer.
  • Programming in C#: Understanding the SortedDictionary ClassJun 21, 2007. This article illustrates a powerful collection in C#, the SortedDictionary. In the article we will discuss two ways to sort key-value pairs: using an IComparer object and using IComparable keys.
  • Lotto Program in C#Jul 16, 2007. It is a small Lotto-Program which can help you fill your lotto ticket. It is written in C#.NET 2.0 by using Visual Studio 2005.
  • Using IComparable and IComparer to compare objects Apr 30, 2008. This article informs you that the .Net framework and especially the System.Collection namespace provides us two built in interfaces witch are IComparable and IComparer interfaces that enables us compare and sort objects.
  • Sorting Data in the Silverlight DataGridJul 22, 2008. In this article I will discuss automatic and programmatic sorting in a Silverlight DataGrid.
  • Some Real Differences Between Structures and ClassesMar 02, 2009. This article lists some differences between classes and structures.
  • Promoting Schemas Properties in BizTalk ServerMar 18, 2009. A common scenario in a BizTalk solution is to subscribe to a message based on its content or context and make decisions based on the underlying values. This is known as content-based routing. In this article, I will cover the principles and techniques to expose this sort of metadata in BizTalk Server.
  • Paging and Sorting ListViews with ASP.NET MVC and jQueryMar 23, 2009. This article provides a simple example of using jQuery along with the jQuery tablesorter and tablesorter.pager plug-ins to provide sorting and paging support for a listview within the context of an ASP.NET MVC application. JQuery has partnered with Microsoft and is now integrated within the IDE to include the availability of intellisense support.
  • GridView Paging and Sorting using AjaxMar 27, 2009. In this article i am going to demonstrat how to enable browser back button. You will also learn gridview control and how to use paging, sorting using AJAX.
  • GridView Multicolumn sortingJul 09, 2009. GridView's built-in sorting can be enabled by setting a data source and AllowSorting property to true. Click on column header to sort based on the SortExpression specified in the Gridview column. However, Gridview does not support multi column sorting which is required in day to day application. So here is how I tried to create one:
  • Sort Description in DataGrid in Silverlight 3 ApplicationAug 09, 2009. In this article we will see how to sort description in DataGrid in Silverlight 3 Application
  • Lambda Expressions are WonderfulDec 02, 2009. Lambda expressions are simple to use and make routine tasks such as sorting or filtering Lists much easier.
  • Grouping and Sorting in ListBox in WPFDec 07, 2009. In this article we will see how we can group elements in ListBox.
  • Datagrid TemplateColumn Sorting in Silverlight 3Jan 07, 2010. In this article we will see how we can sort different column in DataGrid Custom Coulmns including TemplateColumn.
  • Sorting, Reversing, and Searching in Arrays in C#Jan 17, 2010. In this article I will explain you about Sorting, Reversing, and Searching in Arrays in C#.
  • LINQ to Object Part #2: Filtering and SortingMar 04, 2010. In this article, I am going to show you how we can achieve filtering and sorting using LINQ to object.
  • Implementing an IComparable interface to a ClassMar 31, 2010. Here I have given an example of how to sort an Person class on the basis of its attribute by implementing IComparable interface.
  • Sorting and Paging in ASP.NET MVC using JQueryMar 31, 2010. In this article, we will look into sorting and paging of a table in ASP.NET MVC 2 using JQuery.
  • 6 Important .NET ConceptsApr 27, 2010. This article will explain 6 important concepts: Stack , heap , by val , by ref , boxing and unboxing.
  • Sorting with DataGridView using C#.Jun 10, 2010. In this article I m going to discuss how to use DataGridView in window form and how to bind data from the XML file.
  • Use Array and String in ASP.NET to Sort MethodJul 19, 2010. In this article we will learn how to use array and string in ASP.NET.
  • Fancy GridView SortingAug 17, 2010. We will describe a GridView sorting method we used in recent projects. Each GridView column can be sorted in ascending or descending order. An arrow indicates which column is being sorted, and in which direction.
  • GridView Sorting, Paging without using Session, ViewState or CacheAug 29, 2010. In this article you will learn how to use GridView Sorting, Paging without using Session, ViewState or Cache.
  • ListBox in C#Aug 31, 2010. In this tutorial, we will learn how to create a ListBox control at design-time as well as at run-time. We will also see how to create a multiple-column ListBox control with single and multiple selections.
  • Extension Methods for Daily UseSep 01, 2010. Extension Methods allows the programmer to extend the functionality of a type without having to derive from the type.
  • Sort a Multicolumn ListView in C#Sep 10, 2010. When you are working with the ListView control, you may want to sort its contents based on a specific column. We will see how to do that.
  • Sorting a Generic List in C#Sep 20, 2010. This article will give code snippet on how to sort a generic list in C#.
  • Inserting element in sorted Generic list (List) using binary searchSep 20, 2010. This article shows how we can insert an item into a sorted generic list such that after insertion the list will remain sorted.
  • Sorting MultiColumn ListViewSep 24, 2010. I've read Nipun Tomar's "Sort a Multicolumn ListView in C#" article and I feel there is some room for making the code more efficient and clear. I will also try to explain the code more deeply.
  • GridView SortingSep 29, 2010. We will describe a GridView sorting method we used in recent projects. Each GridView column can be sorted in ascending or descending order. An arrow indicates which column is being sorted, and in which direction.
  • GridView Paging, Sorting, Updating and DeletingOct 13, 2010. In this article, discuss about ASP.NET GridView Data Control. Here you will see how to enable paging and sorting in a GridVeiew control and also how to delete and update records in the GridView control.
  • Merging two sorted linked lists in C#Oct 27, 2010. In this article, I am going to explain how to merge 2 sorted linked lists.
  • Grid View Paging and Sorting in ASP.NetNov 02, 2010. In this article you will learn how to create Grid View Paging and Sorting in ASP.Net
  • Sorting in Repeater Control in a simple way using LinqNov 12, 2010. This tutorial will explain how to implement sorting in repeater control using Linq and this is a simple way of sorting within the repeater control.
  • Sorting in DropDown List in a simple way using LinqNov 12, 2010. In this post I am going to tell how you can sort the dropdown list based on DataTextField and DataValueField using Linq.
  • Persisting Row Selection in Data Controls - .NET 4Dec 05, 2010. In .NET 4, we can maintain the row selection in data controls while paging or sorting. That’s a cool feature available in .NET 4. You will be amazed after enabling this property in your data controls.
  • ListView in C#Dec 26, 2010. A ListView control provides an interface to display a list of items using different views including text, small images, and large images. In this tutorial, we will learn how to work with the Windows Forms ListView control using C#.
  • Using IComparer IComparable for Sorting in WPFJan 27, 2011. Implementation of IComparable in WPF. Here, we implement the CompareTo method and sort the Emp objects based on Age property.
  • How memory is managed by Stack and HeapFeb 24, 2011. I studied many articles about memory management, but they are all confusing about when memory is allocated in the stack and when memory is allocated in the heap. But I always got confused. But finally, I got exactly what I wanted.
  • Windows Form Application DataGridView OperationsMar 04, 2011. Implementing simple sorting (Ascending/Descending) for a DataGridView Column.
  • Some Cool and Usefull Tips and Tricks For GridViewApr 11, 2011. Here are some cool and usefull tips and tricks for GridView in ASP.NET.
  • SQL Server Integration Services (SSIS) - Merge Transformation (Setting Sorting) in SSISApr 25, 2011. In this article we are going to see how to set the sorting properties of the merge transformation. This is part 51 of the series of articles on SSIS.
  • GridView: Filtering, Sorting, Paging And Export to CSV Using JQueryJun 27, 2011. This article will show, how to use jQuery plugins for Filtering, Sorting, Paging and Export to CSV.
  • The Complete DataGrid (Editing, Deleting, Sorting, Alphabetic And Customized Paging All in One)Jul 21, 2011. The DataGrid control allows you to select, sort, and edit items in a table from a data source; let's learn in depth about that in this article.
  • How to get the List of Sorted SystemParameters in WPF using F#Aug 31, 2011. This article is a demonstration regarding how you can get the sorted SystemParameters in WPF using F#. Take a quick review to learn.
  • Use of JQGrid in ASP.NET using ASMX Web ServicesOct 04, 2011. Here I will use a JQGrid in ASP.NET Using ASMX Web Services (Paging,Sorting,Add/Edit/Del Functions).
  • Paging and Sorting in ASP.Net GridViewOct 31, 2011. The GridView control provides you with an easy way to display the number of items on a page without taking much space, with the help of paging. You can enable the paging feature in the GridView control in seconds. The built-in paging is pretty good if you are fetching less than 100 items.
  • Sort and Filter Data on a Screen in a LightSwitch ApplicationNov 06, 2011. Using this article one can sort and filter business application data. In this article I tell you how to sort and filter data on screen in LightSwitch application.
  • DataView Class in FSharpNov 15, 2011. The DataView class helps to view a customized record as well as provide an easy way for filtering, sorting, searching records of DataTable.
  • Filtering and Sorting a WPF ListBoxNov 24, 2011. This article shows how to filter and sort data in a WPF ListBox.
  • Sorting and Searching in ASP.NET MVC ApplicationNov 30, 2011. In this this article you will learn how to use the Sorting and Searching functionality in an ASP.NET MVC Application.
  • Sort technique in AJAXDec 04, 2011. In this article I will demonstrate how to apply a Sort technique in AJAX.
  • Searching and Sorting and Paging in Grid view Control with Simple JQueryDec 08, 2011. In this article, you will learn how to perform Searching, Sorting and Paging in a Gridview Control with simple JQuery.
  • Sorting in PHPDec 10, 2011. In this article we will learn how to do sorting in PHP using AJAX.
  • Disply Data on Grid in ASP.NET MVC 3 ApplicationDec 27, 2011. We have created a simple application to help to bind the data in a Grid using the properties. This article helps to bind the data on the Grid and apply the sorting or paging in an ASP.NET MVC 3 application.
  • Sorting and Grouping Using a CollectionView in SilverlightDec 29, 2011. This article shows how to sort and group data in a collection using Silverlight collection views.
  • 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.
  • ADO.NET DataView in ASP.NETFeb 01, 2012. A DataView provides various views of the data stored in a DataTable. Using a DataView, you can expose the data in a table with different sort orders, and you can filter the data by row state or based on a filter expression.
  • Using JQuery GridView For an ASP.NET MVC ApplicationFeb 02, 2012. In this article we will see how to create a GridView for our ASP.Net MVC application.
  • Sorting in WebViewerFeb 29, 2012. Recently our technical support team received a question from one of our customers about how to sort data in the Web Viewer in SharpShooter Reports. The customer wanted to click a column header to sort the data.
  • Sorting Arrays in PHPMar 02, 2012. Using this article one can easily understand sorting arrays in PHP.
  • Binary Search in JavaMar 24, 2012. In this article we are going to describe implementation of a Binary Search in the Java language. So first you should understand what a Binary Search is. A Binary Search is applicable only to a sorted array and any data structure.
  • Linear Search in JavaMar 25, 2012. In this article we are going to discuss or describe Java linear searches. This is the simplest method of searching. In this method, the element to be searched is sequentially searched in the list. This method can be applied to a sorted or an unsorted list.

About heap-sort

NA

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
techbash 2016