Sunday, October 20, 2019 14:54

C# differentiates between uppercase and lowercase

When you are writing your programs, you must remember that C# considers lowercase and uppercase characters as different. As a general rule, most C# commands start with a capital letter and continue with lower case letters. C# constants are usually written all in uppercase, while variables use a mix of upper and lower case letters.

casing error c#

As you can see in the above example, we changed our method from Main to mainin which case the compiler complains about our program not having a starting Main method.

Comments

comments

Tags: ,

Leave a Reply