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