Csharp # why char is using single quotes and string use 2? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Csharp # why char is using single quotes and string use 2?

Csharp # why char is using single quotes and string use 2? can any one explain ., and what is bool double

20th Jan 2017, 1:09 AM
ronnel tang
ronnel tang - avatar
1 Réponse
+ 1
string types are quotation marks to indicate more than one character, char is an apostrophe to indicate one character, to make code more readable. As far as I know, bool double really shouldn't be a thing, (false.53) just doesn't seem right
20th Jan 2017, 1:34 AM
Aaron
Aaron - avatar