title: I can't print a variable on console
body: <p>I am learning C# and I wrote below code but I am unable to print the name on console. Can any one tell me why?</p>
  
  <pre><code> public class BaseClass
  {
      public String Name;
  
      public void Print()
      {
  
          Console.WriteLine("Name is:", Name);
  
      }
  
  }
  class PublicDemo
  {
      static void Main(string[] args)
      {
          BaseClass bc = new BaseClass();
          Console.Write("Enter your Name:");
          bc.Name = Console.ReadLine();
          Console.ReadLine();
          bc.Print();
          Console.ReadLine();
      }
  }
  </code></pre>