Skip navigation.
Home

Programming C#/.NET

  1. Module: Fundamentals of programming
    1. Concepts
      Write your first program in C#
      Understand assembly references
      Compile and run the first program
    2. Demo
    3. Hands on lab
      Students write the hello world sample , compile and run
  2. Module: Data Types
    1. Concepts
      Variables and data types.
      Sizes and ranges of data types
      Type safety and compilation checks.
      Scalar and Non Scalar data types - Integer, Long, float, double, etc.
    2. Demo
      Min and max values of various data types and static type checking
    3. Hands on lab
      Students write sample programs to understand the data types and their
      ranges and observe compile type data type checks
  3. Module : Arithmetic Operators
    1. Concepts
      numerical and arithmetic operators
      Floating point divisions
      Reminders and modulo operators
    2. Demo
    3. Hands on lab
      Students write sample programs using arithmetic operators.
      Example programs:
      Calculate the average of numbers,
      Print the next in the Fibonacci series,
      Test whether a number is even or odd etc.
  4. Strings
    1. Concepts
      String data type, and immutability of strings
      Various operations on strings, sub strings, substitution, split, join
      etc
    2. Demo
    3. Hands on lab
      Students write a function to read a file and split the lines into words.
  5. Conditions and Branching
    1. Concepts
      Conditions and branching using If, else, and switch
    2. Demo
    3. Hands on lab Students write programs using if/else/switch and
      conditional operators
      Example programs: Calculate the postage based on weight tables
  6. Logical operators
    1. Concepts Conditional operators, OR/AND and combining the conditions
      for more complex conditions
    2. Demo
    3. Hands on lab
      Students write programs that use logical conditions and combinations of
      conditions
      Example programs: Print numbers that are divisible by both 3 and 5,

      age based portfolio performance calculations, etc

  7. Looping and Iteration
    1. Concepts
      Looping constructs like for, while, do loops.
    2. Demo
    3. Hands on lab
      Students write programs that use looping constructs.
      Examples:
      Read input until “quit” is typed…
      Compute the next n prime numbers
  8. Arrays, Lists and simple containers
    1. Concepts
      Arrays – the first non-scalar data type. Indexing, looping, length
    2. Demo
    3. Hands on lab
      Read lines from a file, print numbers in an array, etc
  9. Collections in .NET library
    1. Concepts Lists, stacks and queues
    2. Demo
    3. Hands on lab
      Students understand how to use the different collection classes and how
      to use them.
      Examples: Write programs to evaluate a post fix expression that is in a
      stack
  10. Collections in .NET library
    1. Concepts Dictionary, Hash Tables, Hash Sets
    2. Demo
    3. Hands on lab Students write programs using the dictionary and table
      structures
      Examples: Print the words and the number of times each word occurs in a
      file
  11. File I/O
    1. Concepts Create, Read, write, Delete files Traverse
      Directories
    2. Demo
    3. Hands on lab
      Students write a function to print files in a directory
  12. Tour of .NET library
    1. Concepts
      Expose students to regular expressions, XML parsing, network programming
    2. Demo
    3. Hands on lab
      Students use various libraries to accomplish tasks such as download a
      file form web Test if a pattern occurs in a file etc.
  13. Recursion
    1. Concepts Concept of recursion and its uses
    2. Demo
    3. Hands on lab
      Students write a function to print files on the disk recursively
      starting from the root.
  14. User Defined Classes and Object Oriented programming
    1. Concepts
      Class, methods, constructors, destructors
    2. Demo
    3. Hands on lab
      Students create a user defined class and add properties and methods
  15. Advanced Object Oriented Programming
    1. Concepts
      Abstract classes, Static classes, interfaces
    2. Demo
    3. Hands on lab
      Students create a user defined class and define static methods.
  16. Threads
    1. Concepts
      Threading, and concurrent programming fundamentals.
      Thread start, execution, termination and waiting for thread to finish
      Concepts of thread shared state and thread synchronization
    2. Demo
    3. Hands on lab Students implement a long running operation and a
      UI that does not freeze while the operation is progress