C# Language Fundamentals
Topics
Overview of a C# Program: In addition to the basic elements that comprise a C# program, a developer needs to be aware of other .NET features such as commenting options and recommended naming conventions.
- Primitives: Primitives are the basic data types defined by the FCL to represent numbers, characters, and dates.
- Operators: C# uses traditional operator syntax to perform arithmetic and conditional operations.
- Program Flow Statements: Program flow can be controlled using if and switch statements for selection; and while, do, for, and foreach clauses for iteration.
- String: The string class supports the expected string operations: concatenation, extracting substrings, searching for instances of a character pattern, and both case sensitive and insensitive comparisons.
- Enums: An enumeration is a convenient way to assign descriptions that can be used to reference an underlying set of values.
- Using Arrays: Single- or multi-dimensional arrays of any type can be created in C#. After an array is created, the System.Array class can be used to sort and copy the array.
- Reference and Value Types: All types in .NET are either a value or reference type. It is important to understand the differences and how they can affect a program's performance.
No comments:
Post a Comment
Comment Here