Amit Maheshwari

Amit Maheshwari

  • NA
  • 5.3k
  • 1.4m

Way of calling method

Nov 28 2011 11:52 AM
Hi friends,

I want to know the way of calling the method rank() defined below

namespace Info
 {
   namespace dept
     {
        class student
         {
            public void rank()
             {
               Console.WriteLine("hiiiiiii");
             }
         }
        class Journal
         {
           public void rank()
            {
              Console.WriteLine("Helloooo");
            }
         }
     }
}

Answers (1)