C# 1001 notes

What is a preprocessor directives in C#?The preprocessor directives give instruction to the compiler...
Читать далее
Can this be used within a Static method?We can't use this in static method because keyword this retu...
Читать далее
What is the use of static constructors? A static constructor is useful for initializing any static f...
Читать далее
What is Managed or Unmanaged Code?🔸 Managed Code - The code, which is developed in .NET framework i...
Читать далее
What is the volatile keyword used for?In C# volatile tells the compiler that the value of a variable...
Читать далее
What are Reference Types in C#?The reference types do not contain the actual data stored in a variab...
Читать далее📝 What is the difference between string and StringBuilder?String:🔸 It's an immutable object that h...
Читать далее
✨ Here is a solution for the #challenge above
Читать далее#challenge💻 Check for Anagrams | #easyCreate a function that takes two strings and returns either t...
Читать далее
📝 What is Boxing and Unboxing?Boxing and Unboxing both are used for type conversion but have some d...
Читать далее