Skip to main content

C Sharp (C#) - Programming Language

Image result for c#
C#
 It is a multi-paradigm programming language encompassing strong typingimperativedeclarativefunctionalgenericobject-oriented (class-based), and component-oriented programming disciplines. It was developed by Microsoft within its .NET initiative and later approved as a standard by Ecma (ECMA-334) and ISO (ISO/IEC 23270:2006). C# is one of the programming languages designed for the Common Language Infrastructure.







 Its development team is led by Anders HejlsbergThe most recent version is C# 6.0 which was released in 2015
Image result
 Anders Hejlsberg.




ECMA - It is commonly used for client-side scripting on the World Wide Web.

The ECMA standard lists - 



  • The C# language is intended to be a simple, modern, general-purpose, object-oriented programming language.
  • The language, and implementations there of, should provide support for software engineering principles such as strong type checking, array bounds checking, detection of attempts to use uninitialized variables, and automatic garbage collection. Software robustness, durability, and programmer productivity are important.
  • The language is intended for use in developing software components suitable for deployment in distributed environments.
  • Portability is very important for source code and programmers, especially those already familiar with C and C++.
  • Support for internationalization is very important.
  • C# is intended to be suitable for writing applications for both hosted and embedded systems, ranging from the very large that use sophisticated operating systems, down to the very small having dedicated functions.
  • Although C# applications are intended to be economical with regard to memory and processing power requirements, the language was not intended to compete directly on performance and size with C or assembly language.





  • VersionLanguage specificationDate.NET FrameworkVisual Studio
    ECMAISO/IECMicrosoft
    C# 1.0December 2002April 2003January 2002January 2002.NET Framework 1.0Visual Studio .NET 2002
    C# 1.2October 2003April 2003.NET Framework 1.1Visual Studio .NET 2003
    C# 2.0June 2006September 2006September 2005November 2005.NET Framework 2.0Visual Studio 2005
    C# 3.0
    August 2007November 2007
    .NET Framework 2.0 (Except LINQ/Query Extensions)
    .NET Framework 3.0 (Except LINQ/Query Extensions)
    .NET Framework 3.5
    Visual Studio 2008
    Visual Studio 2010
    C# 4.0April 2010April 2010.NET Framework 4Visual Studio 2010
    C# 5.0In Progress[
    June 2013August 2012.NET Framework 4.5Visual Studio 2012
    Visual Studio 2013
    C# 6.0

    July 2015.NET Framework 4.6Visual Studio 2015
    Example 1.0

    using System;
    
    class Program
    {
        static void Main(String[] args)
        {
            Console.WriteLine("Hello, world!");
        }
    }


    Output
    Hello, world!

    Comments

    Popular posts from this blog

    Install Referrer API in Advanced Android Development

    Install Referrer API in Advanced Android Development In the ever-evolving landscape of mobile app development, understanding user acquisition sources is critical. The Install Referrer API is a pivotal tool for Android developers aiming to track app installations and attribute them to specific campaigns. In this guide, we delve into what the Install Referrer API is, why it’s essential, its key features, advantages, and how to implement it effectively in your Android applications.

    Higher-Order Functions in Kotlin

    Higher-Order Functions in Kotlin Kotlin, the modern and concise programming language, has gained massive popularity due to its interoperability with Java and powerful features. Among its many advanced features, Higher-Order Functions stand out as a cornerstone of functional programming. So, what exactly are Higher-Order Functions? Why should you use them, and how can they improve your Kotlin projects? Let’s dive deep into the topic. What are Higher-Order Functions? A Higher-Order Function is a function that either takes another function as a parameter, returns a function, or both. Unlike regular functions that work with standard data types like Int or String , Higher-Order Functions operate on other functions, making them incredibly versatile. Characteristics of Higher-Order Functions Functions as Parameters One defining characteristic of Higher-Order Functions is their ability to accept other functions as arguments. This allows developers to define reusable, dynamic, and modular be...

    Android Kotlin Dagger Hilt – What, Why, and How

      Introduction to Dagger Hilt What Is Dagger Hilt? Dagger Hilt is a dependency injection (DI) library designed specifically for Android applications. Built on top of the popular Dagger 2 framework, Hilt simplifies the DI process, making it more approachable for developers. With Hilt, managing complex dependencies becomes a breeze, streamlining app development. Why is Dagger Hilt Essential in Modern Android Development? DI plays a crucial role in managing object creation and lifecycle in modern Android development, ensuring better code maintainability and scalability. Hilt reduces the learning curve of Dagger 2 and integrates seamlessly with Android’s architecture components, making it a go-to tool for Android developers. Features of Dagger Hilt Simplified Dependency Injection Hilt provides an intuitive and straightforward way to implement DI in Android projects, reducing manual setup. Scalability and Modularity The modular approach of Hilt supports the creation of scalable and reus...