Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
75 C# Programming Coding Practices for Absolute Beginners
Rating: 4.1 out of 5(24 ratings)
12,134 students

75 C# Programming Coding Practices for Absolute Beginners

Master C# faster and Improve your C# programming skill with 75 hands-on coding practices and real-world projects.
Last updated 3/2026
English

What you'll learn

  • Level up your C# programming skill with over 70+ beginners best practices
  • How to sum 2 Numbers
  • How to check for Even and Odd Numbers
  • How to count 1s in number
  • How to find ASCII values of characters
  • How to find a Leap year
  • How to swap 2 Numbers
  • Celsius to Fahrenheit
  • How to get length of a String
  • How to Reverse Numbers
  • How to count number of Words
  • How to check for Vowels and Consonants
  • Count number of Vowels and Consonants
  • How to count number of Alphabets, Digits and Special Characters
  • How to find a Substring
  • How to get Employee Data
  • How to get Employee Data using Nested Structure
  • Area of Rectangle using Structure
  • Power of Number using Recursion
  • How to use Static Constructor
  • And lots more...

Course content

1 section77 lectures7h 25m total length
  • Practice 1. Hello World3:51

    Write a hello world program in C sharp to grasp the basic syntax and the main method. Print the message with console write line.

  • Practice 2. How to sum 2 Numbers4:47

    Practice 2 guides you to sum two numbers in a C# console app by prompting for two integers, parsing them from strings, and displaying their sum.

  • Ask Questions, Get Support & Achieve Your Dream!0:49
  • Practice 3. How to check for Even and Odd Numbers5:21

    Create a C# console program that reads a number, uses modulus two to determine even or odd, and prints whether the number is even or odd.

  • Practice 4. How to count 1s in number9:11

    Learn to count the number of ones in a user-provided set of numbers using a C# program, with arrays, a for loop, and input parsing.

  • Practice 5. How to find ASCII values of characters3:22

    Learn to build a simple C# project that reads a character and prints its ASCII value, using char.Parse and console output, with examples for d, E, O, and 1.

  • Practice 6. How to find a Leap year4:14

    Create a simple c# console program to determine whether a given year is a leap year by checking if it is divisible by four and print the result.

  • Practice 7. How to swap 2 Numbers5:35

    Learn a simple two-number swap in C# by reading user input, using a temporary variable, and displaying numbers before and after swapping.

  • Practice 8. Celsius to Fahrenheit4:03

    Learn how to convert Celsius to Fahrenheit in C# by reading a Celsius value from the console, applying F = C * 9 / 5 + 32, and displaying result.

  • Practice 9. How to get length of a String3:25

    Compute the length of a string in C# by iterating through its characters with a for loop or for each loop and printing the result.

  • Practice 10. How to Reverse Numbers5:31

    Learn how to reverse a number in C# using modulus and division by ten within a do-while loop, accumulating the reverse in a variable and printing results.

  • Practice 11. How to count number of Words5:30

    Create a C# program that counts words in a string by iterating with a do-while loop, handling whitespace and incrementing word count, and displaying the total.

  • Practice 12. How to check for Vowels and Consonants4:34

    Practice 12 teaches building a simple C# project to check vowels and consonants, using an if statement and case-insensitive character checks with console input and output.

  • Practice 13. Count number of Vowels and Consonants9:25

    Learn how to count vowels and consonants in a C# program by reading a string, iterating with a for loop, updating counts, and displaying the results.

  • Practice 14. How to count number of Alphabets, Digits and Special Characters8:52

    Count alphabets, digits, and special characters in a string using C# with a for loop and checks for uppercase and lowercase letters, digits, and special characters, then display the counts.

  • Practice 15. How to find a Substring6:34

    Learn to find a substring in a string using index of in C# and handle found and not found cases with console output.

  • Practice 16. Date Format5:53

    Print and format dates in C# using datetime values, exploring console.writeline formats, toString formats, and common date specifiers for year, month, and day.

  • Practice 29. How to get square root3:49

    Learn how to compute a square root in c# by reading a number from the console, converting it to int, using Math.Sqrt, and printing the result.

  • Practice 30. How to get the cube root3:28

    Learn to compute the cube root of a user-entered number in C# by prompting input, parsing to double, applying math operations, and displaying the result.

  • Practice 31. How to add 2 Dates3:44

    Create a date time object in C#, print the current date, and use add days, hours, and months to obtain a second date.

  • Practice 32. How to add 2 Binary numbers9:36

    Learn to add two binary numbers in C# by converting binary strings to integers, using a do while loop, and printing the resulting sum.

  • Practice 33. How to sum 1-N Numbers4:01

    learn to sum the numbers from 1 to n in C# by prompting for n, iterating with num1, accumulating the total, and displaying the final sum.

  • Practice 34. How to create a Fibonacci Series5:09

    Learn how to create a Fibonacci sequence in C# by using variables and a for loop to print successive numbers.

  • Practice 35. How to detect a Prime Number5:11

    Write a C# program that reads a number, checks divisibility from 2 to x/2 using x % y, sets a flag, and prints if the number is prime or not.

  • Practice 36. How to check for Palindrome5:18

    Build a C# number palindrome checker by reversing digits with a do-while loop and comparing the reversed value to the original, printing whether it is a palindrome.

  • Practice 37. How to get factorial of a Number3:53

    Learn to calculate factorials in a simple C# console project by looping from 1 to n and multiplying to compute the factorial. Initialize fact to 1 and display the result.

  • Practice 38. How to check for Armstrong Numbers5:49

    Create a simple c program to check Armstrong numbers by summing the cubes of its digits and comparing to the original number, using loops and console input.

  • Practice 39. How to Reverse Number3:38

    Learn to reverse a user input number in C# using a while loop, modulus ten, and division, with console input/output and examples like 12345.

  • Practice 40. How to convert from Decimal to Binary5:34

    Convert a decimal input to binary in C# by repeatedly dividing by two and collecting remainders, then printing the binary equivalent.

  • Practice 41. How to create Alphabet Triangle5:13

    Learn to create an alphabet triangle in C# by using nested for loops, incrementing characters from 'A' and printing rows with Console.Write and line breaks.

  • Practice 42. How to convert Digits to Text8:38

    Spell out each entered digit in C# by converting digits to text. Use a loop and modulo ten to extract digits and print the result.

  • Practice 43. How to Check for duplicate elements in an Array13:23

    Create a simple C# program to detect and count duplicate numbers in an array using a for loop and nested loops, then print the duplicate elements.

  • Practice 44. How to Add 2 Matrices18:59

    Learn how to add two matrices in C# using two-dimensional arrays, nested loops, and console input/output, including building and displaying the result matrix.

  • Practice 45. How to Bubble Sort Array6:44

    Learn how to implement bubble sort in C# by sorting an integer array, printing the original and sorted results, and using for and foreach loops.

  • Practice 46. How to sort Array Selection Sorting11:47

    Implement a static insertion method in C# to sort arrays, and call it from main to produce the original and sorted arrays in a console app.

  • Practice 47. How to get LCM and GCD6:51

    Create a simple C# console project to compute lcm and gcd using a do-while loop and modulus, taking two numbers, then display results with examples.

  • Practice 48. How to create Binary Triangle4:26

    Learn to create a binary triangle in C# by reading a user-defined row count and printing lines of 0s and 1s using nested loops and console output.

  • Practice 49. How to create Rectangular pattern2:57

    Learn to create a rectangle pattern in C# by using nested for loops with integer variables x and y, printing with Console.Write and Console.WriteLine to form a rectangular display.

  • Practice 50. How to create a Triangular pattern4:33

    Learn to create a triangular pattern in C# by taking user input for rows and using nested for loops to print the pattern to the console.

  • Practice 51. Arithmetic Calculator6:26

    Learn how to build a simple C# arithmetic calculator that performs addition, subtraction, multiplication, division, and modulus using console input.

  • Practice 52. How to use if else Statement4:02

    Practice 52 demonstrates using an if-else statement in a simple C# program by comparing two user-input numbers and printing which is greater.

  • Practice 53. How to use else if Statement4:06

    Learn to use an else if statement in C programming to determine whether an input number is even or odd using the modulus operator, with console input and output.

  • Practice 54. How to get the Greatest of 3 Numbers6:15

    Learn to read three numbers from the console in a C# program, cast to integers, and apply conditional statements to determine and print which number is the greatest.

  • Practice 55. How to create Multiplication Table using while loop3:48

    Learn to build a multiplication table in C# with a while loop, using user input for the base number and range, and compare with for and do-while approaches.

  • Practice 56. How to create a Multiplication Table using for loop3:28

    Learn to build a multiplication table in C programming using a for loop, prompting the user for a number and printing products from one to ten.

  • Practice 57. How to create a multiplication Table using do while Loop3:51

    Develop a multiplication table in C# using a do while loop, prompting for a number and printing products up to ten or a chosen limit, with console input and output.

  • Practice 58. Add 2 Numbers using Function5:17

    Create a simple C# console project that adds two numbers using a separate function, handles user input, calls the addition method, and displays the sum.

  • Practice 59. How to find HCF5:29

    Create a C# project to find the highest common factor of two integers by looping from 1 to the smaller value, checking divisibility for both numbers, and printing the HCF.

  • Practice 60. How to get the magnitude of an Integer2:47

    learn how to obtain the magnitude of an integer in a simple C# console app, using user input and a do-while loop.

  • Practice 61. How to get Factors of a Number4:12

    Learn to compute the factors of a number in C# by using a for loop and modulus to print each factor to the console.

  • Practice 62. How to detect the State of a Number4:04

    Identify the state of a number in C# by using an if statement to classify positive, zero, or negative values, and print results with console write line.

  • Practice 63. How to get the Minimum and Maximum Number in an Array2:51

    Identify the minimum and maximum values in an integer array in C by creating and filling the array and displaying the results.

  • Practice 64. How to calculate Acceleration3:50

    Create a simple C# console program that calculates acceleration from velocity and time, using user input for velocity and time, computing acceleration as velocity over time, and displaying the result.

  • Practice 65. How to calculate sum of digits entered by user3:54

    Practice calculating the sum of digits entered by a user in C# by iterating with a while loop, using modulus ten and integer division to accumulate the total.

  • Practice 66. How to generate Random Numbers3:27

    Create a simple C# program that generates random numbers using a Random instance and Next, and prints them with Console.WriteLine in a for loop from 1 to 20.

  • Practice 67. How to calculate the square feet of a Room3:51

    Learn to build a simple C# console program that calculates a room's square feet by prompting for width and length in feet and computing area as length times width.

  • Practice 68. How to create a Pythagoras Theorem4:20

    Learn to compute the Pythagoras theorem's third side in C# by prompting for two numbers, using int inputs upgraded to double for decimals, and displaying the result.

  • Practice 69. How to create a Numerical Triangle5:30

    Create a numerical triangle by coding with an int array and nested for loops. Print the triangle line by line using console.write, building a nine by nine triangular pattern.

  • Practice 70. How to create a Binary Triangle5:18

    Learn to print a binary triangle in a console program by reading the number of rows and using nested for loops to toggle and display 0s and 1s per line.

  • Practice 71. How to calculate sin()6:42

    Learn to calculate sin values in C by converting degrees to radians, using a for loop to accumulate the series terms, and verify results with a calculator.

  • Practice 72. How to create a Cosine of Zero6:13

    Create a static method to compute cosine of zero in C#, declare x and y, and print cosine of zero along with several z values in main.

  • Practice 73. How to convert from Binary to Decimal6:30

    Learn to convert binary to decimal in C# by building a console app that reads binary input and uses a while loop with remainder math to compute the decimal value.

  • Practice 74. How to convert from Decimal to Octal4:41

    Create a simple C# console project that converts a user input decimal number to its octal representation using division by eight and remainder, then prints the octal result.

  • Practice 75. Convert Decimal to Hexadecimal9:17

    Learn how to build a C# project that converts a decimal input into hexadecimal, including variable setup, input handling, and hex output.

  • Practice 17. How to get Employee Data5:36

    Create a simple C# project using a struct to model an employee with name, occupation, and salary, then print the details to the console.

  • Practice 18. How to get Employee Data using Nested Structure13:34

    Explores nested structures in C# to model employee data, including an array of employees, populating names and date of birth, using for loops and printing results.

  • Practice 19. Area of Rectangle using Structure4:33

    Learn to compute a rectangle's area using a public struct in C programming, defining x and y, setting length and breadth, and printing the result.

  • Practice 20. Power of Number using Recursion4:45

    Learn to compute the power of a number using recursion in C sharp, via a static method with x and y, applying y-1 until the base case returns 1.

  • Practice 21. How to use Static property4:36

    Explore static properties in C# by building a simple class with a public static property and a getter and setter, then print the value with a console write line.

  • Practice 22. How to use Static Constructor8:11

    Learn how to use a static constructor in C#, create a class, and initialize name1 and name2 to Peter and Paul, demonstrating that the static constructor runs once.

  • Practice 23. Single Cast Delegate9:45

    Explore single-cast delegates in c#, declare a delegate type, assign static and instance methods, and invoke them to print greetings.

  • Practice 24. Multiple Cast Delegate11:34

    Explore multicast delegates in C#, define a delegate, implement addition and subtraction methods, and wire multiple delegates to perform combined operations in a beginner-friendly project.

  • Practice 25. Anonymous Delegate3:27

    Learn how to declare and use an anonymous delegate outside the main method in C#, assign it to a delegate, and execute an operation that prints an anonymous delegate.

  • Practice 26. Single Cast Delegate and Event8:51

    Explore a simple C# example that uses a single delegate and an event, passing an int parameter and invoking the event to display output.

  • Practice 27. Multicast Delegate and Event9:52

    Explore multicast and single-cast delegates and events in C#, for beginners, and see how delegates invoke events to perform addition and subtraction.

  • Practice 28. Trigonometric Functions6:56

    Learn to use trig functions in C# by computing sine, cosine, and tangent with Math.Sin, Math.Cos, and Math.Tan, and explore inverse functions with Math.Acos and Math.Atan plus degree-radian conversions.

  • Congratulations! Never Stop Learning...0:15

Requirements

  • This courses requires the basics of C# programming knowledge
  • A computer (Windows/Mac/Linux)

Description

Welcome to Practical C# Programming Practices (70+ Common Projects)! Learning C# programming language and understanding C# programming language are two different things. Almost every student enjoy learning C# programming language. But, only a few number of these students actually understand C# programming language afterwards. This is where the remaining students are left behind and kept wandering from one course to another over the internet to get the best knowledge on understanding C# programming language with cups of coffee on their table everyday.

Are you ready to master C# programming through hands-on practice and real-world projects? “75 C# Programming Practices/Common Projects to Improve Your Coding Skill” is designed for beginners who want to build a solid foundation in C# by tackling a variety of practical exercises and projects.

What You Will Learn:

  • Getting Started:

    • Writing your first “Hello World” program

    • Summing two numbers

    • Checking for even and odd numbers

    • Counting the number of 1s in a number

    • Finding ASCII values of characters

  • Basic Operations:

    • Determining leap years

    • Swapping two numbers

    • Converting Celsius to Fahrenheit

    • Getting the length of a string

    • Reversing numbers

  • String Manipulation:

    • Counting the number of words

    • Checking for vowels and consonants

    • Counting the number of vowels and consonants

    • Counting the number of alphabets, digits, and special characters

    • Finding a substring

  • Date and Math Operations:

    • Formatting dates

    • Getting square roots and cube roots

    • Adding two dates

    • Adding two binary numbers

  • Number Series and Patterns:

    • Summing 1-N numbers

    • Creating a Fibonacci series

    • Detecting prime numbers

    • Checking for palindromes

    • Calculating the factorial of a number

    • Checking for Armstrong numbers

    • Reversing numbers

    • Converting from decimal to binary

  • Array and Sorting:

    • Checking for duplicate elements in an array

    • Adding two matrices

    • Bubble sorting an array

    • Sorting an array using selection sort

    • Getting the LCM and GCD

  • Pattern Creation:

    • Creating alphabet triangles, binary triangles, rectangular patterns, and triangular patterns

  • Control Structures:

    • Using if-else and else-if statements

    • Finding the greatest of three numbers

    • Creating multiplication tables using while, for, and do-while loops

  • Functions and Advanced Topics:

    • Adding two numbers using functions

    • Finding HCF

    • Getting the magnitude of an integer

    • Finding factors of a number

    • Detecting the state of a number (positive, negative, or zero)

    • Getting the minimum and maximum number in an array

  • Advanced Calculations:

    • Calculating acceleration

    • Summing digits entered by the user

    • Generating random numbers

    • Calculating the square footage of a room

    • Implementing the Pythagorean theorem

  • Trigonometry and Conversions:

    • Creating numerical and binary triangles

    • Calculating sin() and cosine of zero

    • Converting between binary, decimal, octal, and hexadecimal

  • Structs and Delegates:

    • Getting employee data using structures and nested structures

    • Calculating the area of a rectangle using structures

    • Implementing the power of a number using recursion

    • Using static properties and constructors

    • Single and multicast delegates

    • Anonymous delegates and events

Why Enroll?

This course provides a thorough, hands-on learning experience, perfect for beginners who want to build and improve their C# programming skills. With 75 detailed and diverse projects, you’ll gain practical knowledge and the confidence to tackle real-world problems using C#. Each project is designed to help you understand and apply various programming concepts effectively.

By the end of this course, you will have a strong understanding of C# programming and the ability to create robust applications and solve complex problems. Join us and take the first step towards becoming a proficient C# programmer!

70+ C# programming best practices for absolute beginner is a comprehensive and concise guide with over 7 hours of content that is designed to pick up every interested student from the state of “zero-knowledge” to a state of “Hero-knowledge” in C# programming with lots of practical C# projects.

Why Must I Take This Course And What Benefit Is It To ME As A C# Programmer?

This is the only course on the internet that will help you to become a certified and successful programmer with an in-depth knowledge of the entire aspect of C# programming and prepare you with the required skills necessary to build you to face job interviews and get employed as a full stack Software developer.


Emenwa Global instructors are industry experts with years of practical, real-world experience building software at industry leading companies. They are sharing everything they know to teach thousands of students around the world, just like you, the most in-demand technical and non-technical skills (which are commonly overlooked) in the most efficient way so that you can take control of your life and unlock endless exciting new career opportunities in the world of technology, no matter your background or experience.

Who this course is for:

  • Anyone looking to level up their skills and master C# programming language
  • Anyone who wants to learn to code