Month: September 2017

09
Sep
2017

Polymorphism: Method Overloading and Method Overriding and Method Hiding

using System; using Polymorphism; namespace Polymorphism { public static class CalCc { public static int add(int a,…

09
Sep
2017

Aggregation in OOP

using System; namespace Aggregation { public class Address { public string addressLine, city, state; public Address(string addressLine,…

09
Sep
2017

Inheritance in C#

Single Level Inheitance: Inheriting Fields using System; namespace InheitanceCsharp { public class Employee { public float salary…

09
Sep
2017

Encapsulation in C#

using System; namespace EncapsulationExample { class Student { public string ID { get; set; } public string…

08
Sep
2017

C# Access Modifiers/Specifiers

C# Provides five types of access specifiers: They are: Public, Private, Protected, Internal, Protected Internal Public –…

08
Sep
2017

C# Structs works almost like a Class !

//it is also working like as class //its one time definable using System; namespace CStructs { public…