static void Main(string[] args) { string c; Console.WriteLine("What pattern do you want?"); c = Console.ReadLine(); print p = new print(); p.pattern(c); }