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

RECENT POSTS

  • Control Statemenats - Part 1

    This lesson shows how to use c# control statements, and the difference between these controls in C++/ JAVA and c#. Sample includes single selection, if-else, and multi case ..
  • Control Statements - Part 2

    This lesson shows how to use while,do, for, for..each statements.
  • Properties in C#: New Cover on old book

    Properties are accessor methods whose job is to retrieve and set the values of fields.
  • The out and ref Paramerter in C#

    The out and the ref parameters are used to return values in the same variables, that you pass an an argument of a method. These both parameters are very useful when your method needs to return more than one values.
  • What & Why : Properties :: Part 1

    If you were programming in C or C++ before coming to C#, you'll be a little bit confused about properties.
  • Is there any need to Boxing and Unboxing

    With Boxing and unboxing one can link between value-types and reference-types by allowing any value of a value-type to be converted to and from type object. Boxing and unboxing enables a unified view of the type system wherein a value of any type can ultimately be treated as an object.
  • Text Editor in C#

    This editor is more like the notepad that we use on daily basis. The text editor has menu with shortcuts to all of them.
  • Creating Exe on the Fly

    You can create an Exe on the fly using .NET classes.
  • What & Why : Properties :: Part 2

    In the part 1 of this series, I discussed about the get method of the properties, with the help of which you can make your variable so that nobody can modify the value of the variable.
  • Using/Debug Option During Compilation

    This source code below is an an example of how to use /debug option during compilation.
  • .NET is the Future

    This has been a long time in coming. I couldn't write any more article because of some problems but finally I thought I should talk about the future of .NET. The reason is very simple, I'm getting almost 50 mails a day in my inbox just asking about the future of .NET and the comparison with other technologies. So I'm presenting my own views about the future possibilities of this technology.
  • Events and Delegates

    Events in C# are based on delegates, the Originator defining one or more callback functions as delegates and the listening object then implements then.
  • Text Reader and Text Writer in C#

    A detailed tutorial and C# types such as Value and Reference types with sample examples.
  • Using the ref Parameter

    The ref keyword on a method parameter causes a method to refer to the same variable that was passed as an input parameter for the same method. If you do any changes to the variable, they will be reflected in the variable.
  • Interface Components Interoperability

    The fundamental concept behind both COM and DCOM is the interface. An interface is an agreement between a client and an object about how they will communicate with each other.
  • Using the out Parameter

    Did you ever need your method return more than one value? The out keyword can be used to do the same.
  • Passing Const Parameter to Functions in C#/C++/VB Compared

    Parameter passing to a function is extremely important in all programming languages. The desire to keep the passed parameter intact forced the compiler designers to add various keywords to the programming languages.
  • Operator Overloading in C#

    The Source code below shows how to use Operator Overloading in C#. Operator Overloading is pretty useful concept derived from C++ by C#.
  • using Array Class and IEnumeration in C#

    This article illustrates the usage of Array class and IEnumerator. Array class Provides methods for creating, manipulating, searching and sorting arrays, thereby serving as the base class for all arrays in the common language runtime.
  • Using Attributes in C#

    This article shows how to create custom attribute classes, use them in code, and query them.
  • Calculator in C#

    Attached program performs basic calculator operations.
  • Accessing .NET Components from COM Clients and COM components from .NET Clients

    In this article I am going to explain how to access a .NET component from a COM client and accessing COM from .NET clients.
  • IComparable: Under the Hood

    We now calling Array.Sort() on C# Types such as int, char, string will automatically do sorting based on that type.
  • Visual Inheritance in C#-Part1

    We all know that Inheritance means a extending a class with more Features without worrying about the implementation of features of hidden inside the class to be inherited.
  • Similarities and difference with C# and Other Languages

    You should know that many C/C++ developers have been asking this question: Is C# a new programming language or a new version of C/C++. My answer to both questions is that none of these definitions is true.