I m new to C#.Can anyone tell me the syntax of strin in C#?
thanx in advance

Recommended Answers

All 3 Replies

String

String abc="Hello";

String Array

String[] abc=new String[10]

[string str="any data";]

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.