Home Tutoriels

Tutoriels

C# - Value Types

Envoyer Imprimer PDF
  • Introduction to C# and Microsoft .NET Framework
    C# (pronounced "see sharp") is a multi-paradigm programming language encompassing imperative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines. It was developed by Microsoft within the .NET initiative and later approved as a standard by Ecma (ECMA-334) and ISO (ISO/IEC 23270). C# is one of the programming languages designed for the Common Language Infrastructure.
    C# is intended to be a simple, modern, general-purpose, object-oriented programming language.[3] Its development team is led by Anders Hejlsberg, the designer of Borland's Turbo Pascal, who has said that its object-oriented syntax is based on C++ and other languages. James Gosling, who created the Java programming language in 1994, called it an 'imitation' of that language. The most recent version is C# 3.0, which was released in conjunction with the .NET Framework 3.5 in 2007. The next proposed version, 4.0, is in development.


    The Microsoft .NET Framework is a software framework that can be installed on computers running Microsoft Windows operating systems. It includes a large library of coded solutions to common programming problems and a virtual machine that manages the execution of programs written specifically for the framework. The .NET Framework is a Microsoft offering and is intended to be used by most new applications created for the Windows platform.




  • Value Types
    The .NET framework includes a large number of built-in types that you can use directly or use to build your own custom types.
    The Value types directly contain their data offering excellent performance. However, value types that store very small pieces of data. In the .NET framework, all value types are 16 bytes or shorter. You can create user-defined types that store multiple values and methods.
    In object-oriented developement environements, a large portion of your application logic will be stored in user-defined types.
    We can also use Enumerations to improve code readability by providing symbols for a set of values.
Mis à jour ( Dimanche, 15 Novembre 2009 15:29 ) Lire la suite...
 

Authentification


Annonces

Info Plus en Facebook

Info Plus on Facebook

Nuages de Tags