In this article we will discuss how can we convert first letter to upper case using C#.Net.
Also check out:
- Bind dropdownlist using arraylist or hashtable in C#.Net
- How to make fade out animation effect in asp.net using Ajax AnimationExtender Control?
- Transaction in SQL Server 2008
Below is the code that will convert first letter to upper case:
string enterWord = "aspDotNetHelp";
char[] allLetters =enterWord.ToCharArray();
allLetters[0] = char.ToUpper(allLetters[0]);
string result = new string(allLetters);
Here the output will come as below:
AspDotNetHelp
You can also check my previous articles on: Advantages of WCF in Asp.Net, Implement SQL Server authentication in asp.net and Left outer join and Right outer join in SQL Server.
Also check out:
- Bind dropdownlist using arraylist or hashtable in C#.Net
- How to make fade out animation effect in asp.net using Ajax AnimationExtender Control?
- Transaction in SQL Server 2008
Below is the code that will convert first letter to upper case:
string enterWord = "aspDotNetHelp";
char[] allLetters =enterWord.ToCharArray();
allLetters[0] = char.ToUpper(allLetters[0]);
string result = new string(allLetters);
Here the output will come as below:
AspDotNetHelp
You can also check my previous articles on: Advantages of WCF in Asp.Net, Implement SQL Server authentication in asp.net and Left outer join and Right outer join in SQL Server.