As a programmer, we all should be aware that keywords of a programming language cannot be used as identifiers. That is the case for C# as well. We cannot use a keyword as an identifier. Continue reading “How to avoid conflicts with keywords in C#”
Tag: C# Programming
Check Operator in C#
Check operator tells the runtime to generate an OverflowException rather than overflowing silently when an integral expression or statement exceeds the arithmetic limits of that type. Continue reading “Check Operator in C#”
C# Compiler Options
Below are the list of commands/options available for the Visual C# compiler. These options can be used through the csc.exe executable available along with the .NET framework.
In general case, the executable will be under %SystemRoot%\Microsoft.NET\Framework\<Framework-version>. In this path %SystemRoot% is the windows directory. Continue reading “C# Compiler Options”