Is C# programming case sensitive? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is C# programming case sensitive?

24th Jun 2016, 4:50 PM
Sujay S Bhat
Sujay S Bhat - avatar
6 Answers
+ 4
Yes, proper capitalization of letters must be observed.
24th Jun 2016, 7:19 PM
Erwin Mesias
Erwin Mesias - avatar
+ 3
Mehaboobmunna, both are pretty much the same since "string" is an alias for "System.String", which can be simplified written as "String". "String" is the class then.
25th Jun 2016, 1:02 PM
hyrex
hyrex - avatar
+ 2
Yes it is.
24th Jun 2016, 4:53 PM
Andreas BeEm Kvist
Andreas BeEm Kvist - avatar
+ 1
Yes, the same like java.
25th Jun 2016, 4:12 PM
Chosua Reyes
Chosua Reyes - avatar
0
It definitely is. you cannot name a method CaseCheck and use it as casecheck. Compiler will throw an error. Don't get confused with string and String both working same. they are different. I don't exactly remember exactly but one is class and other is maybe an object. edit : the other is an alias. @hyrex thank you so string and String both work. that doesn't mean c# is case insensitive. it is case SENSITIVE
25th Jun 2016, 9:54 AM
Mehaboobmunna Annigeri
Mehaboobmunna Annigeri - avatar
- 3
why not just Google it
26th Jun 2016, 2:40 PM
Jordan Herrera
Jordan Herrera - avatar