Welcome :Guest

Congratulations!!!

Top 5 Contributors of the Month
Lee Hnetinka
mithun

 Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions
You can also find related Interview Question to What is Quick Sort?  below:

### what is Merge Sort?

The merge sort is a divide and conquer sort as well. It works by considering the data to be sorted as a sequence of already-sorted lists (in the worst case, each list is one element long). Adjacent sorted lists are merged into larger sorted lists until there is a single sorted list containing all the elements. The merge sort is good at sorting lists and other data structures that are not in arrays, and it can be used to sort things that don't fit into memory. It also can be implemented as a stable sort. (More...)

### What is Radix Sort?

The radix sort takes a list of integers and puts each element on a smaller list, depending on the value of its least significant byte. Then the small lists are concatenated, and the process is repeated for each more significant byte until the list is sorted. The radix sort is simpler to implement on fixed-length data such as ints. (More...)

### How can you sort the value of the array in descending order?

First call Sort() and then Reverse() methods. (More...)

### How can you sort the elements of the array in descending order?

By calling Sort() and then Reverse() methods. (More...)

### How can you sort the elements of the Array in descending order?

We can sort the array in descending order by calling
Array.Sort() and then by calling Array.Reverse() method. (More...)

### Explain how to sort the elements in HashMap.

The elements of HashMap can be sorted by using the static method Collections.sort().

For example: Collections.sort(hashMapObject); // hashMapObject is an instance of HashMap (More...)

### How to sort an int array in c#?

Array class is having method to sort any arrays.

Example:
int[] array = new int[] { 10, 9, 8 };
Array.Sort(array);

Sort is overloaded method with IComparer as argument too. (More...)

### What is the difference between OrderBy() and Sort() method over IList

OrderBy() sorts and gives the view IEnumerable(). But underlying list is sorted or not changed.

Sort() modifies the underlying list. (More...)

### How can I sort items in a ListBox (or any other ItemsControl)?

Sorting can be done via a mechanism on the ItemsCollection object, so it applies equally to all ItemsControls. ItemsCollection has a SortDescriptions property that can hold any number of System.ComponentModel.SortDescription instances. Each SortDescription describes which property of the items should be used for sorting and whether the sort is ascending or descending. For example, the following code sorts a bunch of ContentControl items based on their Content property:

// Clear any existing sorting first

myItemsControl.Items.SortDescriptions.Clear();

// Sort by the Content property

new SortDescription("Content", ListSortDirection.Ascending)); (More...)

### How can you sort the elements of the array in descending Order?

By calling Sort() and then Reverse() methods. (More...)

### How to Hide the Quick Launch on a Sharepoint web part Page

The Quick Launch on a Sharepoint web part Page can be hide by editing the webpart page and add the content editor webpart to the page,then copy paste this CSS in it.

(More...)

Quick Links For Interview Questions Categories:
 ASP.Net Windows Application .NET Framework C# VB.Net ADO.Net Sql Server SharePoint Silverlight OOPs JQuery JavaScript/VBScript Biztalk Patten/Practices .IIS WCF WPF WWF Networking Aptitude Others All

### Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.