What's the difference? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

What's the difference?

static string Person(string name) {} vs static string person(string name) {}

3rd Nov 2022, 7:21 AM
Mozzie
Mozzie - avatar
1 Réponse
+ 2
The difference is uppercase and lowercase P. In C# it's a convention to begin method names with uppercase letters.
3rd Nov 2022, 7:43 AM
Tibor Santa
Tibor Santa - avatar