+ 1

Are methods in C# case sensitive?

4th Dec 2016, 4:19 PM
Patrick Aziken
Patrick Aziken - avatar
3 Respuestas
+ 3
Yes
4th Dec 2016, 4:28 PM
Nikunj Arora
Nikunj Arora - avatar
+ 3
they both will be accepted but as two different strings.. string A and string a are two different strings
4th Dec 2016, 5:32 PM
Omer Nahum
Omer Nahum - avatar
+ 1
I see, so things like Console.WriteLine or Console.ReadLine is hard coded in the language hence erros will show up if not written that way. So if that's the case how about something like this: string yourName; OR string Yourname; Which one of them would throw and error?
4th Dec 2016, 4:51 PM
Patrick Aziken
Patrick Aziken - avatar