str1=new String(data,0,data.Length()) why the zero is used in the string function please explain me the what this line says???

Recommended Answers

Just read the API documentation for the String class - it's all explained there[],%20int,%20int%29

Jump to Post

All 3 Replies

i think its the fifth constructor given document by james.
so use this and clear your doubts.


Hi jalpesh. The link I gave is a link directly to the relevant constructor.

Be a part of the DaniWeb community

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