forum

home / developersection / forums / c#.net case-insensitive string

C#.Net case-insensitive string

Anonymous User 3399 16-Feb-2013

Hi Expert!

A quick and simple question...

Why does C#.Net allow the declaration of the string object to be case-insensitive?

String sHello = "Hello";
string sHello = "Hello";
Both the lower-case and upper-case S of the word String are acceptable and this seems to be the only object that allows this.

Can anyone explain why?


c# c# 
Updated on 21-Feb-2013

I am a content writter !


Message
Can you answer this question?

Answer

2 Answers

Liked By