C# data types
Translation results:
C# is a modern, general-purpose, object-oriented programming language developed by Microsoft and approved by Ecma and ISO.
C# was developed by Anders Hejlsberg and his team during the development of the .Net framework.
C# is designed for the Common Language Infrastructure (CLI). The CLI consists of executable code and a runtime environment that allows the use of a variety of high-level languages on different computer platforms and architectures.
C# data typessyntax
In C#, variables are divided into the following types:
Value types (Value types)
Reference types (Reference types)
Pointer types (Pointer types)
C# data typesexample
namespace DataTypeApplication{ class Program { static void Main(string[] args) { Console.WriteLine("Size of int: {0}", sizeof(int)); Console.ReadLine(); } }}