Welcome to Kode CSharp
Kode CSharp website provides beginners to C# programming some examples to use the C# API (Application Programming Interface) to develop applications. Learning from some examples will hopefully decrease the time required to learn C#.
In this website you will find a lot of examples which grouped by the C# API namespace. You can easily find a solution to your problem.
Enjoy your study, come and visit the site regularly to find more and more examples of C# code.
--
I Wayan Saryada
Kode CSharp Webmaster
Latest Code Examples
How do I limit number of characters in a string?
By using the StringBuilder object with a defined initial and maximum capacity information we can create a string with a limited number of characters in it. In the code below we set the initial and maximum capacity of the StringBuilder to 20 chars.