title: First character of string to upper ASP.Net
body: <p>I'm attempting to return a username in ASP.net but would prefer to convert the first character to upper, for example if a username is 'test' I would want to return 'Test'.</p>
  
  <p>Code to get username:</p>
  
  <pre><code>&lt;h3&gt;Welcome Home&lt;strong&gt;&lt;%: User.Identity.Name %&gt;&lt;/strong&gt;.
  </code></pre>
  
  <p>Not 100% sure on how to implement this and I'm pretty sure it will just end up being something simple but any help would be appreciated.</p>
  
  <p>Thanks</p>
  
  <p><strong>FIXED</strong></p>
  
  <pre><code>h3&gt;Welcome Home &lt;strong&gt;&lt;%: User.Identity.Name.ToUpper().Substring(0,1) + User.Identity.Name.ToLower().Substring(1) %&gt;&lt;/strong&gt;.
  </code></pre>