Category: Software Development
using System; namespace Propertytest { class Person { private int age; private string gender; public int…
Interface: //interface method is public and abstract by default using System; namespace InterfaceTest { public interface Drawable…
//abstract class can contain abstract method but it is not mandatory using System; namespace Abstract {…
using System; using Polymorphism; namespace Polymorphism { public static class CalCc { public static int add(int a,…
using System; namespace Aggregation { public class Address { public string addressLine, city, state; public Address(string addressLine,…
Single Level Inheitance: Inheriting Fields using System; namespace InheitanceCsharp { public class Employee { public float salary…
Recent Comments