Example #1
0
        static void Main(string[] args)
        {
            Category   objCategory = new Category();
            SpareParts objSpare    = new SpareParts();

            objCategory.Display();
            objSpare.Display();
        }
Example #2
0
        static void Main(string[] args)
        {
            Category   obj  = new Category();
            SpareParts obj1 = new SpareParts();

            obj.Display();
            obj1.Display();
        }