Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- 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;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement