Online Introduction to C# Programming Course
Learn the fundamentals of computer programming with the C# programming language. This course uses hands-on practice, examples and assignments to develop your knowledge of C# programming by using a state-of-the-art language to build impressive applications on your very own computer.
This course starts with programming fundamentals: input/output operations, decision making, and looping. Then, you will explore the many benefits of object-oriented programming, with plenty of vivid, real-life examples.
Then, you will gain hands-on experience with sequential data files, and you will be able to build a professional-looking and intuitive Graphical User Interface (GUI) application on your very own computer.
Because there is no better way to learn programming than hands-on practice, almost every lesson includes practical examples and assignments you can use to develop your knowledge of programming.
Learn to program the right way: by using a state-of-the-art language to build impressive applications on your schedule and on your very own computer.
What you will learn
- Develop your understanding of programming fundamentals: input/output operations, decision making, and looping
- Explore the many benefits of object oriented programming
- Gain hands-on experience with sequential data files
- Learn to build a professional-looking and intuitive Graphical User Interface (GUI) application on your very own computer
How you will benefit
- Learn a programming language that will open the door to new career opportunities
- Advance your programming skills regardless if you're new to the industry or a seasoned programmer
- Master C# programming and list your new skills on your résumé
Outline
Computer Basics and the History of Programming
C# is a fantastic programming language that combines the best parts of C++, Java, and Visual Basic all into one language. This first lesson briefly explains the history of programming languages and then showcases the .NET framework.
The C# Compiler and Your First C# Program
Armed with some background, you will now proceed to installing the C# compiler, and then you will write, compile, and run your first C# program. Although you will start with a small program, it will be clear even small C# programs can be a bit tricky. This lesson gives you a great opportunity to practice working with the compiler, something that you will be using for the remainder of the course.
Data Types and Mathematical Operators
Now that you're comfortable with compiling and running simple programs, you will shift to math. But you will be learning about the basic math operators that C# provides. And because you will need a place to save the results of your calculations, you will also learn about variables and their data types.
Value Returning Methods
This lesson is your first step into modular programming with methods. Methods are a helpful tool because they allow you to break up big programs into smaller, more manageable parts. First, you will start learning a few built-in methods that are available. Then you will learn how to write your own methods and call them in your program. Hopefully you will agree that this way of programming makes it easier to tackle large problems.
Void Methods and Overloading
This lesson continues building on the concept of methods. You will learn about methods that don't return any value, which help make your program modular. This lesson also covers method overloading, which can help improve the readability of your programs by reusing method names within the same code file.
The if Selection Structure
By this point in the course, you will be comfortable doing the basics of C#: working with variables, math, and methods. In this lesson, you will learn about the if statement and how you can use it to let the computer choose which set of statements to execute based on some condition.
More About the Selection Structure
This lesson continues your investigation of the decision structure by taking a look at more complex if statements. You will also learn how to use the switch statement to make decisions in your programs as well. This ability to have multiple programming structures is sort of like having another tool in your tool belt. Sometimes a job is far easier to do if you just use the right tool. You may not always need to use every tool, but it's good to know what tools are there and how to use them. You will find the same is true in programming.
The Repetition Structure
Keeping with the theme of programming structures, you will now look at the repetition structure. Just as there were different ways to implement the decision structure, there are a couple of ways to work with loops. This lesson focuses on the while loop, the for loop, and the do loop. Each structure works the same in that they allow you to repeat statements, but each one is a little different. Here you will learn their differences and add to the tools in your tool belt.
Arrays
One of the most useful applications of loops is arrays, so it makes sense for you to build on your knowledge of loops and explore array variables in this lesson. You will learn how to create and access array variables.
Classes
Object-oriented programming is a big topic, and C# is an object-oriented language. You will write a class that will store the data necessary to keep track of the time. Since you're writing this class, you will have the ability to take this code and add it to any program that needs to store information about the time, such as appointment books and scheduling programs.
Exceptions and Files
Obviously, computer programs are big time savers and really help you to automate things. But in order for a program to be really useful, it needs to be able to save data for use later. In this lesson, you will learn how to read from and write to external data files, so you can store your user data forever.
Graphical User Interfaces
In your final lesson, you will learn programs with a Graphical User Interface (GUI). While C# has an Integrated Development Environment (IDE) that gives you the ability to easily create GUI applications, the code that's generated is buried deep in the file structure. You will also learn how to build your own GUI without an IDE. By doing this, you will be far better prepared for working with IDEs in the future because you will know exactly what's going on behind the scenes.
Prerequisites:
There are no prerequisites to take this course.