+ 1

C# - Defining Variables

I am confused with these two words "string" and "String". I always thought defining a string variable would look like this: string a = "hello"; but recently, I found you can also write it like this: String a = "hello"; with a capital "S". Is there any differences between the two words like whether one has a specific functionality or anything?

25th Jun 2018, 1:13 AM
Jax Wang
Jax Wang - avatar
2 Antworten
25th Jun 2018, 1:29 AM
Andre Daniel
Andre Daniel - avatar
0
No
28th Jun 2018, 8:34 AM
Daksh Jain
Daksh Jain - avatar