2
Reply

What is string in C#?

Kunal  Gautam

Kunal Gautam

11y
1.3k
0
Reply

    string is a data-type it use for noun like string name="saira" (more then one word) and to take input from user we just write name=Console.ReadLine(); we don't use here string.parse because Console.ReadLine() also a string calling input so need to convert it again in string ...

    A string is a data type like int,double etc. String is a reference type. we have to use th equality operators(== and !)