C#'s Design Goals

C# was designed in cooperation with .NET to

  • Let C and C++ programmers feel familiar with C# C# has many operators, keywords, and concepts in common with C++, which makes it immediately familiar to C++ programmers.

  • Be simpler, safer and more productive than C++ This is achieved through mechanisms such as garbage collection, structured exception handling, and type safety, and by letting the underlying runtime take care of many other error prone, tedious, and time consuming housekeeping tasks.

  • Be a true component-oriented language Creating a component is as easy as creating a program, because any program you create is also a component. No other special files are required. This concept is known as one stop programming.

  • Metadata and ...

Get C# Primer Plus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.