1
Answer

Way of calling method

Ask a question
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)