As c# doesnt have null character as in c I want to know how to find the length of string without using the length function???
Jump to Post
Why you want to find the length of string without Length function. One way is use String.ToCharArray() function, then iterate through the loop. Inside loop increment the value of counter variable.
As c# doesnt have null character as in c I want to know how to find the length of …
All 5 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.