title: C# How to return first letter from a string as a char in a method?
body: <p>I'm making an assignment in my class, which question is:
  Create a method, call it <code>A</code>, and make it return the first letter in a string.</p>
  
  <p>This is my code:</p>
  
  <pre><code>{
      String f = "flying";
      String str = A(f);
  
      Console.WriteLine(str);
  
      Console.ReadKey();
  }
  
  
  public static string A(string s) 
  {
      string first = s.Substring(0, 1);
      return first;       
  }
  </code></pre>
  
  <p>But it's not acceptable, as I'm returning a <code>string</code> rather than a <code>char</code>. I can't find anywhere how to return the letter 'f' in flying as a <code>char</code>, and I would appreciate some help. </p>