What is the use of fixed statement?
The fixed statement sets a pointer to a managed variable and “pins” that variable during the execution of statement. Without fixed, pointers to managed... Read more »
The fixed statement sets a pointer to a managed variable and “pins” that variable during the execution of statement. Without fixed, pointers to managed... Read more »
Destructors are called in reverse order of constructors. First destructor of most derived class is called followed by its parent’s destructor and so on till... Read more »
int[] arr = new int[3]; arr[0] = 4; arr[1] = 1; arr[2] = 5; Array.Sort(arr); Array.Reverse(arr); Read more »
No, First of all you cannot declare a method as ‘private virtual’. Read more »
It is definitely possible to debug other .Net languages code in a C# project. As everyone knows .net can combine code written in several .net languages into one... Read more »
Overriding is used to redefines only the methods, but shadowing redefines the entire element. Read more »
Place a colon and then the name of the base class. Example: class NewClassName : BaseClassName Read more »
It is available to classes that are within the same assembly and derived from the specified base class. Read more »
An assembly containing localized resources for another assembly. Read more »
Syntax for Two Dimensional Array in C Sharp is int[,] ArrayName; Read more »
The purpose of Canonical XML is to define a standard format for an XML document. Canonical XML is a very strict XML syntax, which lets documents in canonical XML... Read more »
Delegates are just like function pointers in C++, except that they are much safer to use due to their type safety. A delegate defines a function without implementing... Read more »
C# ( pronounced as C-sharp ) is a new Java like language from Microsoft. Microsoft says that C# is a language with the power of C++ and simplicity of Visual Basic.... Read more »
Sun left the implementation of a specific garbage collector up to the JRE developer, so their performance varies widely, depending on whose JRE you’re using. Microsoft... Read more »
Syntax Error is thrown because the word checked is a keyword in C#. Read more »