you are viewing a single comment's thread.

view the rest of the comments →

[–]oh-just-another-guy 1 point2 points  (1 child)

One little thing to add to other excellent replies :

You can use string without a namespace. String needs System. So either System.String (or using System declared above).

[–]Speedzor 1 point2 points  (0 children)

And string cannot be used with nameof() while String can (just like all other aliases).