Programming Language

C#

C# (programminglanguage)
Full NameC# OR C Sharp
Short NameC#
DescriptionC# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines
CompanyMicrosoft
WebYes
MobileYes
EnterpriseYes
EmbeddedNo

What is C#?

C# is a modern object-oriented programming language developed by Microsoft as part of the .NET framework. It is designed for building applications that run on the Windows operating system and the web.

What are some features of C#?

C# includes features such as garbage collection, type safety, and support for generic programming. It also includes advanced features such as LINQ, which allows for powerful querying of data, and asynchronous programming, which enables efficient use of system resources.

What platforms can C# be used on?

C# can be used on a variety of platforms, including Windows, Linux, and macOS. It can also be used to build applications for mobile devices, such as Android and iOS.

What tools are needed to develop C# applications?

To develop C# applications, you typically need a development environment such as Visual Studio or Visual Studio Code. These environments provide tools for editing code, debugging, and building applications.

What types of applications can be built with C#?

C# can be used to build a wide range of applications, including desktop applications, web applications, games, mobile apps, and more. It is a versatile language that can be used for many different types of projects.

Is C# difficult to learn?

C# can be challenging to learn for beginners, but it is a popular language with a large community and many resources available to help developers. There are many online tutorials, books, and courses available to help you learn C#. It is also a language that is widely used in the industry, so there are many job opportunities for developers with C# skills.

Snippet from Wikipedia: C Sharp (programming language)

C# ( see SHARP) is a general-purpose high-level programming language supporting multiple paradigms. C# encompasses static typing,: 4  strong typing, lexically scoped, imperative, declarative, functional, generic,: 22  object-oriented (class-based), and component-oriented programming disciplines.

The principal inventors of the C# programming language were Anders Hejlsberg, Scott Wiltamuth, and Peter Golde from Microsoft. It was first widely distributed in July 2000 and was later approved as an international standard by Ecma (ECMA-334) in 2002 and ISO/IEC (ISO/IEC 23270 and 20619) in 2003. Microsoft introduced C# along with .NET Framework and Visual Studio, both of which were closed-source. At the time, Microsoft had no open-source products. Four years later, in 2004, a free and open-source project called Mono began, providing a cross-platform compiler and runtime environment for the C# programming language. A decade later, Microsoft released Visual Studio Code (code editor), Roslyn (compiler), and the unified .NET platform (software framework), all of which support C# and are free, open-source, and cross-platform. Mono also joined Microsoft but was not merged into .NET.

As of November 2024, the most recent stable version of the language is C# 13.0, which was released in 2024 in .NET 9.0.

GitHub Topics

C# (pronounced “C sharp”) is a simple, modern, object-oriented, and type-safe programming language.

Its roots in the C family of languages makes C# immediately familiar to C, C++, and Java programmers.

using System;

internal static class HelloWorld
{
    private static void Main()
    {
        Console.WriteLine("Hello, world!");
    }
}

Source: Wikibooks

## ToDo ##

  • Object-Oriented Programming (OOP)
  • Classes
  • Inheritance
  • Polymorphism
  • Interfaces
  • Abstract classes
  • Encapsulation
  • Namespaces
  • Arrays
  • Collections
  • Generics
  • Delegates
  • Events
  • LINQ (Language Integrated Query)
  • Exception handling
  • Threads
  • Windows Forms
  • WPF (Windows Presentation Foundation)
  • ASP.NET
  • Entity Framework
  • Attributes

See also: Programming Languages

  • dev/c_sharp.txt
  • Last modified: 2023/05/01 17:23
  • by Henrik Yllemo