90 likes | 118 Views
Discover the history, goals, fixes, contributions, and features that have made C# a successful and popular modern object-oriented programming language. Learn about its impact on software development and its unique characteristics.
E N D
C# Language Panithan Chandrapatya 47541263
Agenda • C#History • C# Goals • C# Fixes • C# Contribution • C# Features • C# Success • C# Example
C# History • C#was submitted to European Computer Manufacturers Association (ECMA) standards group in mid-2000 by Microsoft Corporation. • Leaded development by Anders Hejlsberg
C# Goals • To be a simple, modern, general-purpose, object-oriented programming language. • To be suitable for writing applications for both hosted and embedded systems, in every function sizes. • To be economical with regards to memory and processing power requirements.
C# Fixes Because software robustness, durability and programmer productivity are important. The language should include strong type checking, array bounds checking, detection of attempts to use un-initialized variables, source code portability, and automatic garbage collection.
C# Contribution • C# contributed the “Interface”, “property”, “indexer”, “delegate” and other modern concepts become really motivated for an already educated student and it leads him to quicker and easier mastering. • C# allows easily introduce Windows programming Event-driven paradigm confirms studied ideas of modern OOP.
C# Features • Pointers are missing in C#. • Unsafe operations such as direct memory manipulation are not allowed. • No usage of “::” or “->” operators. • Automatic memory management and garbage collection. • Varying ranges of the primitive types like Integer, Floats etc. • Integer values of 0 and 1 are no longer accepted as Boolean values. Boolean values are pure true or false values in C# so no more errors of "="operator and "=="operator. "==" is used for comparison operation and "=" is used for assignment operation.