C# Syllabus - Trainees
C# Syllabus - Trainees
view Reference
.NetFramework Understanding of .NetFramework
Into to data types
(int,float,double,decimal,string,char,bool, http://www.c-
datetime
Why dataetc)types are important ?
What is variable ?
DataTypes and Variables
scope and lifetime of variables ?
Type Conversion and Casting
Type Conversion in Expressions
Arthematic Operators
Relational and Logical Operators
Operators Assignment Operator
Bitwise Operators
Operator Precedence
Branching Statements : If , If-else , Nested
If-else,
LoopingSwitch
Statements : while loop, do while
Control Statements loop, for loop
Jumping Statements : break , continue ,
goto
Define a Class
How Objects are Created
Reference Variables
Constructor
Garbage Collection and Destructors
this Keyword
Access Specifiers
Classes, Objects and methods
Classes, Objects and methods
Pass References to Methods
Use ref and out Parameters
Method Overloading
Overload Constructors
Optional Arguments to Methods
Recursion
Operator Overloading
One Dimensional Array
Two Dimensional Array
Jagged Array
Implicit Typed Array
Array and Strings foreach loop on array
Constructing Strings
Operating on Strings
Array of Strings
Strings are Immutable
One-Dimensional Indexers
Multidimensional Indexers
Indexers and Properties Auto-Implemented Properties
Use Object Initializers with Properties
Property Restrictions
Inheritance Basics
Member Access and Inheritance
Using Protected Access
Inheritance
Calling Base Class Constructors
Inheritance Creating a Multilevel Hierarchy
Virtual Methods and Overriding
Using Abstract Classes
Using sealed to Prevent Inheritance
Boxing and Unboxing
Implementing Interfaces
Using Interface References
Interface Properties
Interface Indexers
Name Hiding with Interface Inheritance
Interfaces,structures and enums Explicit Implementations
Choosing Between an Interface and an
Abstract Class
Why Structures?
Initialize an Enumeration
Specify the Underlying Type of an
Enumeration
Use Enumerations
The System.Exception Class
Exception-Handling Fundamentals
Using Multiple catch Clauses
Exception Handling
Nesting try Blocks
Throwing an Exception
Using finally
Why Delegate?
Using Instance Methods as Delegates
Anonymous Functions
Pass Arguments to an Anonymous
Method
Return a Value from an Anonymous
Method
Use Outer Variables with Anonymous
Delegates, Events, and Lambda Expressions Methods
Lambda Expressions
https://drive.google.com/file/d/0BxxsfPlEMkkQ
The Lambda Operator cHpPV3NEamplZ1lNU0tvVXduV1kxN2N1Vmhv/
view
Expression Lambdas
Using Event Accessors
Instance Methods vs. Static Methods as https://www.tutorialspoint.com/csharp/
Event Handlers
Use Anonymous Methods and Lambda
Expressions with Events http://csharp.net-tutorials.com/
Declaring a Namespace
Namespaces Prevent Name Conflicts
Namespaces, the Preprocessor, and The Global Namespace
Assemblies Using the :: Namespace Alias Qualifier
Preprocessor => #define, #if and #endif,
#undef , #error, #warning , #line, #region
and #endregion
Assemblies and the internal Access
Modifi er
Using is
Using as
Using typeof
Using Reflection Obtaining Information
About Methods
Runtime Type ID, Reflection, and Attributes Calling Methods Using Reflection
Obtaining a Type’s Constructors
Obtaining Types from Assemblies
Runtime Type ID, Reflection, and Attributes
Attribute Basics
Positional vs. Named Parameters
What Are Generics?
How Generics Improve Type Safety
A Generic Class with Two Type
Parameters
The General Form of a Generic Class
Using a Base Class Constraint
Using an Interface Constraint
Using the new( ) Constructor Constraint
The Reference Type and Value Type
Constraints
Generics Creating a Generic Method
Using Explicit Type Arguments to Call a
Generic Method
Using a Constraint with a Generic Method
Generic Delegates
Generic Interfaces
Generic Class Hierarchies
Overriding Virtual Methods in a Generic
Class
Overloading Methods That Use Type
Parameters
How Generic Types Are Instantiated
LINQ Fundamentals
Filter Values with where
Sort Results with orderby
Use Nested from Clauses
Group Results with group
LINQ
LINQ
Use let to Create a Variable in a Query
Join Two Sequences with join
Anonymous Types
Create a Group Join
Deferred vs. Immediate Query Execution
Multithreading Fundamentals
Creating and Starting a Thread
Creating Multiple Threads
Passing an Argument to a Thread
Thread Priorities
Multithreaded Programming
Deadlock and Race Conditions
The Interlocked Class
Terminating a Thread Via Abort( )
Suspending and Resuming a Thread
Using the Main Thread
Creating a Task
Use a Task ID
Using Wait Methods
Calling Dispose( ) Method
Task Parallel Processing Using TaskFactory to Start a Task
Use a Lambda Expression as a Task
Create a Task Continuation
Returning a Value from a Task
Cancelling a Task and Using
AggregateException
Collections Overview
The Specialized Collections
The Generic Interfaces
The KeyValuePair<TKey, TValue>
Structure
The Generic Collection Classes
The Concurrent Collections
Collections, Enumerators, and Iterators Storing User-Defined Classes in
Collections
Implementing IComparable Interface
Using an IComparer Interface
Using StringComparer
Accessing a Collection via an Enumerator
Implementing IEnumerable and
IEnumerator
Using Iterators
Asynchronous programming with async
Asynchronous programming and await
How To Call Synchronous Method in
Asynchronously