FeedC# TutorialArchiveAbout

C# Tutorial

C# tutorial provides basic and advanced concepts of C#. C# is widely used programming language in .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.

  • C# String

    - In this tutorial we will learn the types and methods related to strings in C#, so that you can do most common string-manipulation tasks in your projects easily.

  • Delegates And Events In C#

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

  • 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 tutorial 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#.