Category: C#

20
Dec
2017

Interface in C# + abstract in C#

Interface always starts with I . It is the naming convention.   up vote24down vote In a…

21
Nov
2017

Collection Initializer

codes: using System; using System.Collections.Generic; namespace ObjectInitializeProgs { public class Student { public int RollNo{ get; set;…

21
Nov
2017

C# Object Initializer

https://www.tutorialspoint.com/csharp_online_training/c_object_initializer.asp using System; namespace ObjectInitializer { class Person { int age; string name; private char gender; static…

20
Nov
2017

Constructor in C#

code: using System; namespace Constructor { class Testing { int marks; static int maxmarks=50; Testing() //My own…

20
Nov
2017

Extension Methods in C# 3.0

program.cs using System; namespace Extension { class DekhiKiObostha { public void Test1() { Console.WriteLine(“Method-1”); } public void…

03
Oct
2017

Gridview CRUD with Visual Studio