FeedC# TutorialArchiveAbout

C# Tutorial

C# is widely used programming language in .NET framework. The goal of this tutorial is to take you from having little to no experience with C# to understanding how to leverage the language's advanced features and how it works on the CLR and .NET framework.

What is C#?

C# is a powerful and flexible programming language. Like all programming languages, it can be used to create a variety of applications. Your potential with C# is limited only by your imagination. The language does not place constraints on what you can do. C# has already been used for projects as diverse as dynamic Web sites, development tools, and even compilers.

C# was created by a team of people at Microsoft led by Anders Hejlsberg . Interestingly, Hejlsberg is a Microsoft Distinguished Engineer who has created other products and languages, including Borland Turbo C++ and Borland Delphi. With C#, they focused on taking what was right about existing languages and adding improvements to make something better.

The term is sometimes spelled as C Sharp or C-Sharp.

C# Articles

This page will provide you a series of articles to learn concepts of C# that are designed for beginners and professionals.

  • Introducing To .NET Framework

    - This article introduces the .NET Framework and links to additional resources. .NET (dot-net) is the name Microsoft gives to its general vision of the future of computing, the view being of a world in which many applications run in a distributed manner across the Internet.

  • Getting Started With C#

    - In this article we run through a standard 'hello world' example, with links to articles covering the different parts of the program.

  • C# Variable Types

    - In this article you will learn about defining types and declaring variables in C#.

  • C# Pointer

    - A pointer is a variable that holds the memory address of another type. In C#, pointers can only be declared to hold the memory addresses of value types. This article gives a brief overview of pointers and their use in C#.

  • C# Array

    - In this article, we will look at what an C# array is, how it is used, and what it can do. An array is a set of indexed elements where each has its own, unique identification number.

  • C# Enumerator

    - C# Enums or Enumeration is a special kind of value type limited to a restricted and unchangeable set of numerical values. An enumerated type is declared using the enum keyword.

  • C# Operator

    - C# Operators are symbols that tells the .NET CLR to perform specific operations on operands for producing the final result. This article explains the arithmetic, relational, logical, bitwise, assignment, and other c# operators one by one.

  • C# Loops

    - In this article, we will look at C# loops. Loops can be used to repeat parts of a code a specified number of times or until a certain condition is met.

  • C# Conditions

    - In this article, we will look at C# conditional statements. Conditions are used to execute part of a code only if some predefined conditions are fulfilled.

  • C# String

    - C# String class represents a string data type. This tutorial explains strings in C# and how you can use strings in your .NET applications.

  • C# Object-Oriented Programming

    - Understanding and using object-oriented coding techniques is the key to building well-crafted C# applications. In this part of the C# tutorial, we will talk about object oriented programming in C#.

  • C# Class

    - In this article we will learn very basic fundamental of OOPS programming that is classes and objects. Classes are a blueprint for creating individual objects that contain the general characteristics of a defined object type.

  • C# Methods

    - C# Methods are operations associated with types. To provide a type with methods is to give it some useful functionality. In this article you will learn different types of methods in C# language.

  • C# Polymorphism

    - Polymorphism in C# relates to the choice of which method to call, where the declared class of a variable is different to the run-time class of the object it references. In this tutorial, you will learn about - inheritance polymorphism and runtime polymorphism in c#.

  • C# Fields, Properties and Indexers

    - In this article, we will discuss about C# Fields, Properties and Indexers. A field is a variable which is declared directly in a class or struct in C#. A property is a member that provides a flexible mechanism to read, write, or compute the value of a private field.

  • Delegates And Events In C#

    - In C#, delegates form the basic building blocks for events. This article explains the implementation detail of Delegates and Events in C# .NET.

  • Generics In C#

    - This article explains the Generics in C# with the help of a real-time problem and its step by step solution using generics. This article serves to be an in-depth post on getting started with generics in c#.

  • C# Multithreading

    - This course is a complete guide to Multithreading in C#. It explains Thread class, Thread synchronization techniques, and Task class provided by .NET for Asynchronous and Parallel Programming in C#.
    • C# Thread

      - This article is a complete introduction to threading. It explains what is a thread and why it is used in programming. Threading enables your C# program to perform concurrent processing so that you can do more than one operation at a time.

    • C# Threadpool

      - This article explains how to use C# Threadpool. A thread pool is a collection of threads that can be used to perform several tasks in the background. This leaves the primary thread free to perform other tasks asynchronously.

    • Race Condition C#

      - This article explains what is Race Condition and Shared Resources in a multithreaded program and how much it is critical to synchronize a multithreaded program having shared resources.

    • C# Thread Synchronization

      - This article explains techniques to tackle the thread synchronization problems and race condition. Thread synchronization refers to the act of shielding against multithreading issues such as data races, deadlocks and starvation.

    • C# Monitor

      - This article explains how to use Monitor Class in C#. Monitor and lock is the way to provide thread safety in a multithreaded application in C#. Monitor class is one of the wait based synchronization primitive that provides gated access to the shared resource.

    • C# Task

      - This article serves to be a quick guide for using Tasks in C#. It discusses different methods to create tasks and handle their execution.

    • Async Await C#

      - In this article, you'll learn what are async and await keywords in C#, and how to use async-await feature along with Task for asynchronous programming.

    • Task Parallelism C#

      - In this article we will be discussing different methods to achieve parallelism using Tasks in C#.


comments powered by Disqus