DEV Community

Cover image for C# Fundamentals Tutorial for Absolute Beginners
Angular Developer
Angular Developer

Posted on

C# Fundamentals Tutorial for Absolute Beginners

Learn C# programming from an expert in the industry. Get the tools, see how to write code, debug features, explore customizations, and more.

Content

Installing Visual Studio: Learn the basics of how to install Visual Studio

Creating Your First C# Program: Learn how to create a simple application, and get an explanation of common solutions to different problems you might encounter as you begin writing and compiling code.

Understanding Your First C# Program: To better understand the grammar of C# at a high level, return to the program we just built to break apart each of the key words and symbols.

The if Decision Statement: Get an introduction to the if Decision statement, along with the conditional operator. Find out how to refactor code to make it more compact and less likely to produce errors.

Understanding Data Types and Variables: Add C# syntax to your vocabulary by exploring fundamental building blocks: data types and variables. In addition, learn about basic topics, such as naming conventions and data type conversions.

for Iteration Statement: Look at several different types of iteration statements, how to utilize code snippets to help remind you of the syntax for this complex statement, and debugging in action.

Understanding Arrays: Learn about arrays, and see how to declare and utilize arrays. Watch demos on a couple of powerful built-in methods that give arrays added features.

Defining and Calling Methods: Create a helper method, create and call methods to retrieve a value, create and use input parameters, learn about string formatting, and create overloaded methods.

While Iteration Statement: Learn a new iteration statement that allows you to continue performing a block of code until a condition is no longer true.

Working with Dates and Times: Find out how to work with Date and Time data, how to create new instances of DateTime, how to add time, and how to format the data for display. Take a look at the TimeSpan class.

Working with Strings: Look at built-in String methods to manipulate the content inside of a literal string and at the StringBuilder class for concatenating many strings together in a memory- and resource-friendly manner.

Understanding Classes: Learn how classes are defined and new instances are created, how to define Properties, and how to both set values and get values for a given instance of the class.

Understanding Scope and Accessibility Modifiers: Explore variable scope and how accessibility modifiers are used by the .NET Framework Class Library to expose or hide implementation of their given services to consumers of that given class.

More About Classes and Methods: Dig into more details about classes: create a new instance, add class references, pass the reference to a method. Plus, review overloaded methods, static versus instance methods, and constructors.

Creating and Adding References to Assemblies: Learn about .NET assemblies: code libraries and executables, debug and release versions of assemblies. Plus, see how to reference assemblies, utilize NuGet, and create references to custom libraries.

Working with Collections: See an old style collection, along with several of the newer, strongly typed generic collections (List and Dictionary) utilizing the generics syntax.

Working with LINQ: Explore Structured Query Language and the LINQ syntax. See a demo projecting data onto existing types and new anonymous types.

Enumerations and the Switch Decision Statement: See a demo on the use of Enumerations, create a custom enumeration, and then use it in a simple application that demonstrates a third Decision statement, the switch.

Gracefully Handling Exceptions: Learn how to use the try catch finally block to anticipate potential problems so as to shield the end user from those problems as much as possible. Explore best practices when checking for exceptions.

Understanding Events and Event-Driven Programming: Learn how events are utilized in the .NET Framework Class Library. Begin with the Timer class, and graduate to building a basic Hello world application.

Where to Go from Here: Hear approaches to solving common issues, where to go for help, how to search for answers, and become part of the .NET community. View a long-term path to learn more about developing applications.

Where to Go from Here: Hear approaches to solving common issues, where to go for help, how to search for answers, and become part of the .NET community. View a long-term path to learn more about developing applications.

Operators, Expressions, and Statements: Learn how to create a properly formed C# statement made up of expressions that include operators and operands. Hear about compilation errors that occur when the syntax rules of C# are ignored.

Working with Code Files, Projects, and Solutions: Learn how to open and close individual files in a project, the relationship between projects and solutions, and more.

Understanding Namespaces and Working with the .NET Class Library: Learn about namespaces and how to find the classes for your applications by searching Bing and MSDN.

Top comments (1)

Collapse
 
davorthekos profile image
GrayHeaDad • Edited

O yeah! Bob Tabor is index[0] in Main Method for begginers starting point.