Below is a C# program to find Age from a Date of Birth. Enjoy!...
Month: March 2017
Lets see how to use params modifier in C#. The perfect example is Calculator...
Constructors need to be overloaded depending on what extend of data/properties need to be...
LINQ or Language Integrated Query gives the capability to query objects and C# allows...
Below is very simple usage of DateTime – class DateTimePr { static void Main(string args) { var datetime = new DateTime(); var now = DateTime.Now;...
Below is a simple program in C# that reads a file and outputs the...
Below is a simple program to find the lowest number from a list of...
Here is some basic, simple, handy C# programs for you to enjoy and refresh...
Composition is a common object oriented concept that enables us to implement loose coupling...
Like any other Object Oriented Programming language, C# does not allow parent constructor to...
Well, C# provides this option to prove that it is flexible. If you are...
C# Generics are really useful when we want to reuse a class for different...
C# Indexers is a simple implementation of key/value pairs using Dictionary type. Below is...
We generally apply the concept of inheritance to implement a IS-A relationship. For example...
Interface is a similar language construct such as class, but fundamentally different from a...
We use abstract classes when the base class can’t have concrete implementation and that...
Below is a simple stop watch implemented in C#, enjoy!StopWatch using System; namespace StopWatchApp { public class StopWatch...
Below is a simple implementation of work flow engine using interfaces and the concept...
Every programming language allows to define and classify data so we can use it...