Microsoft
Microsoft Logo

Write your first code using C# (Get started with C# Part 1) 

  • Offered byMicrosoft

Write your first code using C# (Get started with C# Part 1)
 at 
Microsoft 
Overview

Duration

4 hours

Total fee

Free

Mode of learning

Online

Schedule type

Self paced

Difficulty level

Beginner

Official Website

Explore Free Course External Link Icon

Credential

Certificate

Details Icon

Write your first code using C# (Get started with C# Part 1)
 at 
Microsoft 
Course details

Skills you will learn
What are the course deliverables?
  • Write your first C# code
  • Store and retrieve data using literal and variable values in C#
  • Perform basic string formatting in C#
  • Perform basic operations on numbers in C#
  • Guided project - Calculate and print student grades
  • Guided project - Calculate final GPA
More about this course
  • Learn the basic syntax and thought processes required to build simple applications using C#

Write your first code using C# (Get started with C# Part 1)
 at 
Microsoft 
Curriculum

Write your first C# code

Introduction

Exercise - Write your first code

Learn how it works

Complete the challenge

Review the solution

Knowledge check

Summary

Store and retrieve data using literal and variable values in C#

Introduction

Exercise - Print literal values

Declare variables

Exercise - Setting and getting values from variables

Declare implicitly typed local variables

Complete the challenge

Review the solution

Knowledge check

Summary

Perform basic string formatting in C#

Introduction

Exercise - Combine strings using character escape sequences

Exercise - Combine strings using string concatenation

Exercise - Combine strings using string interpolation

Complete the challenge

Review the solution

Knowledge check

Summary

Perform basic operations on numbers in C#

Introduction

Exercise - Perform addition with implicit data conversion

Exercise - Perform math operations

Exercise - Increment and decrement values

Complete the challenge

Review the solution

Knowledge check

Summary

Guided project - Calculate and print student grades

Introduction

Prepare for guided project

Exercise - Calculate the sum of each student's assignment scores

Exercise - Calculate the average of the student's assignment scores

Exercise - Format the output using escaped character sequences

Knowledge check

Summary

Guided project - Calculate final GPA

Introduction

Prepare for guided project

Exercise - Store the numeric grade values for each course

Exercise - Calculate the sums of credit hours and grade points

Exercise - Format the decimal output

Exercise - Format the output using escaped character sequences

Knowledge check

Summary

Write your first code using C# (Get started with C# Part 1)
 at 
Microsoft 
Entry Requirements

Eligibility criteriaUp Arrow Icon
Conditional OfferUp Arrow Icon
  • Not mentioned

Other courses offered by Microsoft

Free
2 hours
Intermediate
Free
4 hours
Intermediate
Free
5 hours
Beginner
Free
1 hours
Beginner
View Other 1171 CoursesRight Arrow Icon
qna

Write your first code using C# (Get started with C# Part 1)
 at 
Microsoft 

Student Forum

chatAnything you would want to ask experts?
Write here...