C# optional parameters 13 years ago C# 4.0 allows one to use named and optional parameters. Example: [crayon-6a1c942a96785048174566/] One can call the method in multiple ways… The using statement in C# 13 years ago The using statement in C# is a form of shortcut for try and finally block of code. Things to note… I refuse to answer your stupid singleton question in interview 13 years ago In interviews there is always the Singleton question, I personally refuse to answer it on interview. The reason is very… What is the as keyword in C#? When to use it? 13 years ago C# has the as keyword, it is mainly used to cast object of one type to another, and if it… C# what is the yield keyword? 13 years ago So C# what is the yield keyword? The yield keyword in C# is basically an iterator, its a form of… C# constructor overloading 13 years ago In C# if one wishes to use C# constructor overloading they can use the "this" keyword right after to initialize… C# readonly what is that for? 13 years ago C# readonly what is that for? The readonly keyword in C# is used as a modifier. A field can be… What is the @ symbol in front of variables in C#? 13 years ago From the C# documentation it states that the @ symbol is an Identifier. 2.4.2 Identifiers The prefix "@" enables the… Detect UTF-8 or UTF-16 BOM in a Stream using C# 13 years ago Was detecting a file stream if it was Unicode encoded or not, so though I would share the code. Let… C# Func vs. Action 13 years ago C# Func vs. Action? What is the difference between a Func vs an Action in C#? The main difference is… Next» « Previous