SortedSet is one class that is been added to the .Net class library 4.0 which actually merges the behaviour of HashSet and SortedList together. It maintains the sorted ordering of the list without affecting performance.
The Visual Studio IDE Output window displays status messages for various features with in IDE include build errors, compilation error, Project configuration information, that occur when a project is compiled. This window is very much important to see what your application doing during build. Now, this windows is by default turn off. So when ever you want to… Read More »
Last few days back, I faced one peculiar issue, while adding a new system in my Web Farm. My users started facing an issue “InValid View State” intermittently. First, I could not guess what is the issue and thought of some programming issue. But later after analysis I found the issue is caused by the changes in the… Read More »
Sometimes default keywords comes very handy when working with generic objects. It returns the default value when the object is not initialized. For example, we all know integers are initialized to 0 if not given any value. Characters are Empty when not given any value, objects are null when not assigned any value.
Fixed is the one of uncommon keyword in C#. The keyword is Fixed which can only be used in Unsafe C# code blocks. Fixed statement sets the pointer to be in a fixed memory address so that, it will not be moved to anywhere even if Garbage Collection Thread is invoked.
Here I am going to show you the two important window of the Visual Studio which is useful when you debugging the project and to get the result on the fly during debug mode. Call Stack Window Most of the developer get confuse when they are debugging application “From which function call came from up to my debug… Read More »
__arglist is used to send parameters to a method. Generally we used to send parameters to a function by having a list of arguments specified in the method head. If we want to pass a new set of arguments we need to have Method Overloading. Even when we want to send any number of arguments we might use… Read More »
We use using to define alias. There are 2 types of Alias 1. Namespace Alias: Namespace alias are used when you want to shorten a long namespace. To do that :