Category: C#
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…
using System; namespace EncapsulationExample { class Student { public string ID { get; set; } public string…
C# Provides five types of access specifiers: They are: Public, Private, Protected, Internal, Protected Internal Public –…
//it is also working like as class //its one time definable using System; namespace CStructs { public…
Is it known as constructor overloading ? //we can also print it from constructor using System; namespace…
Recent Comments