Category: Programming

12
Sep
2017

Enum in C#

using System; namespace Enum { public enum Season { WINTER, SPRING, SUMMER, FALL } class Program {…

12
Sep
2017

Command Line Arguments in C#

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CommandLine { class Program { static…

12
Sep
2017

Exception in C#

using System; namespace @finally { class Program { static void Main(string[] args) { try { int a…

11
Sep
2017

BDJObs.com .NET Class

     

10
Sep
2017

Base and Sealed class

base class field using System; public class Animal { public string color = “white”; } public class…

10
Sep
2017

C# Generics

Generics Class: using System; namespace GenericsClass { class GenericClass<T> { public GenericClass(T msg) { Console.WriteLine(msg); } }…