Chapter 2. C# Language Fundamentals
Topics in This Chapter
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
andswitch
statements for selection; andwhile
,do
,for
, andforeach
clauses for iteration.String: The
string
class supports the expected string operations: concatenation, extracting substrings, searching for instances of ...
Get Core C# and .NET 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.