In Focus
C# is a multi-paradigm programming language. This section contains C# related articles and syntaxes.


  • Some situtions where one may like to use IL

    This article requires knowledge of IL or at least desire to learn it. My intention is to give few illustrations where usage of IL is possible or only option.
  • Mandelbrodt Plotting Program Using C#

    This program illustrates the use of the algorithm to create the Mandelbrodt set. The formula is an iterative one and is plotted in the complex plane (x, yi).
  • .NET Static Variables : Better than Application!

    In traditional ASP, we always had the Application object to store application-wide variables in.
  • Implementing IEnumerator and IEnumerable Interfaces using Inner Class in C#

    .NET framework provides IEnumerable and IEnumerator interfaces to implement collection like behavior to user defined classes.
  • Function Overriding and Its Impact During Object Initialization

    Different languages have different ways to initialize an object. C# and Java both have almost similar ways to initialize an object with few subtle differences.
  • Understanding Destructors in C#

    This article is about understanding the working concept of destructor in C#. As you read this article you will understand how different is C# destructor are when compared to C++ destructors.
  • Evaluating Neper's Numbers in C#

    One of the most interesting number in mathematics is the Neper's number : "e".
  • Creating Strongly Typed Custom Collections in C#

    In this article, author shows you how to create and use strongly typed custom collections.
  • Alternative Simplified C# Property Syntax

    When I first read about properties in C#, I was a bit excited and a bit confused. I was glad to see so many inventions, including properties, designed to help programmers be more productive.
  • How to use C# Constructors

    This article gives a brief introduction, features of constructors their usage and also an idea of how to use C# constructors.
  • May Reflection be with you, always

    So let me present the example where we can use Reflection and Reflection.Emit to do something interesting.
  • C# Methods

    This article explains hot to define and use methods in C#.
  • Storing Data in C#

    In this article, we will talk about C# data types and how data storage works with different types of data types.
  • Object Oriented: The Grownup Way to Code

    Back in my dark days of Procedural Programming, I remember someone giving me a problem, then banging out a few (hundred) lines of code, achieving my goal, and going on with my life. The next time a similar problem would arise, I’d rewrite, or in some cases, cut & paste my old code to achieve a similar, yet slightly different outcome.
  • Overriding Non-Virtual Implemented Interface Methods

    In the .NET framework many classes implement interfaces non-virtually. Presumably this is because it does not make any sense for those methods to be overridden.
  • Events Programming in C#

    In this article, author discusses the events model in .NET and how to implement events in your applications using C#.
  • Comparing Conditional Attributes in C/C++ versus C#

    This article compares conditional attibuting in C/C++ and C#.
  • Hello World in different Styles

    I've attempted to write the traditional 'Hello World' in different styles. This explores the different possibilities of addressing a problem - 'Hello World' with different features of C# language and .NET framework.
  • Fundamentals of Function Point Analysis Part I

    Function points are a unit measure for software much like an hour is to measuring time, miles are to measuring distance or Celsius is to measuring temperature.
  • Fundamentals of Function Point Analysis Part II

    Function points are a unit measure for software much like an hour is to measuring time, miles are to measuring distance or Celsius is to measuring temperature.
  • New Features in C# 2.0 : Part 1

    In a two part series I will explain new features introduces in C# language version 2.0. In this article I will talk about generics.
  • New Features in C# 2.0 : Part 2

    In this article I will talk about iterators, anonymous methods, and partial classes.
  • How to Write a Method in C#?

    This sample shows to write a windows application that gives you the - C# - method throw a simple 4 steps.
  • Writing unsafe code - pointers in C#

    In this article I will give a short description of one of the feature of C# which are pointers and so-called unsafe code. This subject is particularly close for C++ programmers. Moreover, it is a feature that we do not find in Java.
  • Will swap work if C# Manipulates Objects by Reference?

    C# does manipulate objects by reference, and all object variables are references. On the other hand, C# does not pass method arguments by reference; it passes them by value. Thus, a regular swap method will not work!