Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
C# arithmetic operators ๐Ÿงฎ
Play lesson

C# tutorial for beginners ๐ŸŽต - C# arithmetic operators ๐Ÿงฎ

5.0 (6)
48 learners

What you'll learn

This course includes

  • 4 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

C# arithmetic operators tutorials example explained #C# #arithmetic #operators using System; namespace MyFirstProgram { class Program { static void Main(string[] args) { int friends = 5; friends = friends + 1; //friends += 1; //friends++; //friends = friends - 1; //friends -= 1; //friends--; //friends = friends * 2; //friends *= 2; //friends = friends / 2; //friends /= 2; //int remainder = friends % 2; //Console.WriteLine(remainder); Console.WriteLine(friends); Console.ReadKey(); } } }

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere