1
Answer

Way of calling method

Amit Maheshwari

Amit Maheshwari

12y
1.2k
1
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)