What is difference between string and String? same way int and Int16,32,64 etc

I know in C# we have both variable type like string and int and then object type with CAPS like Int32 and String.

I know one is primitive variable and the other is a class object but as a newbie I just look at it as a concept. Can you give me any specific scenario in which we use use one over other and why?
Who is Participating?
Jens FiedererConnect With a Mentor Test Developer/ValidatorCommented:
The Int16, etc. allow you to specify the number of bits - only ONE of these is the same as int.

Not much difference aside from style between string and String, see

TheCommunicatorAuthor Commented:
Thank you so much :).
Jens FiedererTest Developer/ValidatorCommented:
My pleasure, thanks.
In C# there isn't any difference. One is a compiler alias to the other.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.