Month: September 2017
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…
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…
Recent Comments