Learn C Sharp Programming Language
An excellent place to begin if you want to learn to be a computer programmer.
What is C#?
C# is the most widely used language in the .NET framework. Microsoft explains the concept of .NET in these words:
“Microsoft® .NET is a set of Microsoft software technologies for connecting information, people, systems, and devices. It enables a high level of software integration through the use of Web services – small, discrete, building-block applications that connect to each other as well as to other, larger applications over the Internet.”
C# has a number of advantages, including:
- Works across multiple platforms (desktop, mobile, web)
- Open source and cross-platform (using .NET 5)
- Approachable (to C++ and Java developers)
- Object oriented (with many functional features)
Lesson Structure
There are 12 lessons in this course:
-
Introduction to C# and the .NET Framework
-
The C-Family Programming Languages
-
What is Microsoft .NET?
-
Program Fundamentals
-
Writing Programs
-
Variables
-
What are Variables?
-
Operator Precedence
-
Arrays
-
Strings
-
Programming Exercises
-
Adding Comments to Your Code
-
Conditions and If Statements
-
Sequence
-
Selection
-
Evaluating Conditions with Boolean Expressions
-
C# Conditions and If Statements
-
Iteration (Looping)
-
Programming Exercises
-
Input/Output (I/O) Handling
-
What Is a File?
-
Saving Files
-
I/O
-
More About Data Files
-
Opening Files
-
Streamwriter and Streamreader Classes
-
Programming Exercises
-
Controls and Objects – an Introduction
-
Objects and Controls
-
Programming Exercise
-
Stepwise Development
-
Structured Programming Using Modules
-
Modular Program Techniques
-
Modules and Methods
-
Cohesion and Coupling
-
Variable Scope
-
Procedures Vs. Functions
-
Programming Exercise
-
Properties, Methods, Events and Classes
-
Object-Oriented Programming
-
Classes and Objects
-
Object-Oriented Concepts
-
Access Levels
-
Constructors and Destructors
-
Programming Exercise
-
Inheritance
-
What is Inheritance?
-
When to Use Inheritance
-
Creating Derived Classes
-
Programming Exercise
-
Polymorphism
-
What is Polymorphism?
-
Using Polymorphism
-
Types of Polymorphism
-
Programming Exercise
-
Using Form Controls
-
Types of Controls
-
Adding Controls
-
Layout of Controls
-
Using Controls
-
Debugging
-
Programming Errors (Bugs)
-
Type of Bugs
-
Finding Bugs
-
Developing a Complete C# Application
-
Systems Development Life Cycle
-
User Interface Design
-
Creating an Executable Program
-
Uses of C# and Other Extensions
This course assumes that the student has no knowledge of C# or computer programming. However, students must have access to a computer and download the latest version of Visual Studio for windows (free from Microsoft as Visual Studio Community, for example) or Visual Studio Professional (purchased from Microsoft). The free version is more than sufficient to complete this course.