how to grab inptr from string c# code example Example: c# console input string userName = Console.ReadLine();