CLS is the collection of the rules and constraints that every language (that seeks to achieve .NET compatibility) must follow. It is a subsection of CTS and it specifies how it shares and extends one another libraries.
MSIL (Microsoft Intermediate Language) is a powerful feature used by .NET to execute the user’s code. As DOTNET support multiple language usage for code development and cross-language usability, all the code of a solution is eventually converted in to MSIL (a syntax code which is understood by CLR) and then CLR executes the code accordingly.
StringBuilder is more efficient in the cases, where a lot of manipulation is done to the text. Strings are immutable, so each time it’s being operated on, a new instance is created.
What is a Delegate? A delegate is a special kind of object that holds a reference to a method. The delegate can be called as if it were any other method. However, when called, the underlying referenced method is executed. This simple layer of abstraction is useful because unlike a direct call, the method being used does not need to be known when writing the code. The reference is created at run-time and may be changed repeatedly throughout the life of the executing program. NB: If you have previously used C++ function pointers then you will see many similarities between … Click here to continue reading.