C# C- , ++ Java. , , , - , , , , , XML. ++, Java, Delphi, Smalltalk #, , , : , C# ( C++).
C# CLR , , , , CLR. , , C#, FCL. , CLR. , CLR 1.1 2.0 C#; . ( C# 3.0, , .NET.) CLR C#, .NET- , , . , C#, CLR , C# , VB.NET, J# .
# ++, C++ ( C C++), , C -. . , # () # (Unicode U+266F), Microsoft, , .
C# a ECMA (Standard ECMA-334 C# Language Specification, 3rd edition (June 2005)) ISO (ISO/IEC 23270:2003, Information technology C# Language Specification). , , , C#,
Mono, Ximian Novell.
dotGNU Portable.NET, Free Software Foundation
2005 Microsoft C#, . , , Microsoft , C#.
C# 1998 COOL (C-style Object Oriented Language). 1.0 .NET 2000 , -; C# 1.0 Microsoft Visual Studio .NET 2002 .
C# Java 1.4, : , C# ( , ), ( , ), , , foreach, , , (boxing), , (DLL, COM) .
, C# C++, Java: , ( , C++), , , goto. C# , unsafe .
C# 2.0 Microsoft 2003 ; 2004 - ( Whidbey), C# 2.0 7 2005 Visual Studio 2005 .NET 2.0.
2.0
( ).
, (generics). C++, . , .
, yield, Python' .
, .
'??': return obj1 ?? obj2; ( C# 1.0) return obj1!=null ? obj1 : obj2;.
('nullable') - ( , , int? i = null;), -, null. SQL.
2004 Microsoft C#3.0.[1] 2005 C# 3.0 - C# 3.0, Visual Studio 2005 .NET 2.0.
C# 3.0 :
select, from, where, SQL, XML, . . (, , Language Integrated Query, LINQ)
:
Customer c = new Customer(); c.Name = "James";
Customer c = new Customer { Name = "James" };
-:
listOfFoo.Where(delegate(Foo x) { return x.size > 10; });
listOfFoo.Where(x => x.size > 10);
: var x = "hello"; string x = "hello";
: var x = new { Name = "James" };
- this .
C# 3.0 C# 2.0 MSIL-; . , LINQ , List.FindAll List.RemoveAll.
using System; class Example { static void Main() { Console.WriteLine("Hello, world!"); } }
10.11.2021 - 12:37: - Personalias -> WHO IS WHO - - _. 10.11.2021 - 12:36: - Conscience -> . ? - _. 10.11.2021 - 12:36: , , - Upbringing, Inlightening, Education -> ... - _. 10.11.2021 - 12:35: - Ecology -> - _. 10.11.2021 - 12:34: , - War, Politics and Science -> - _. 10.11.2021 - 12:34: , - War, Politics and Science -> . - _. 10.11.2021 - 12:34: , , - Upbringing, Inlightening, Education -> , - _. 10.11.2021 - 09:18: - New Technologies -> , 5G- - _. 10.11.2021 - 09:18: - Ecology -> - _. 10.11.2021 - 09:16: - Ecology -> - _. 10.11.2021 - 09:15: , , - Upbringing, Inlightening, Education -> - _. 10.11.2021 - 09:13: , , - Upbringing, Inlightening, Education -> - _. |