The download is free, but we offer some paid services. Support us by subscribing
Delete ads and speed up browsing the library.
The download starts with the click of a button without waiting for the book to be ready.
No limits for download times.
You can upload unlimited books in the library.
Enable readers to download your books without waiting.
Delete ads on the books that you publish.
No problems with download links for your uploaded books.
The publisher is the author
Previewing the book or downloading it for personal use only and any other powers should be obtained from the author of the book publisher
| Author: | Souhail Laghchim |
| Category: | C# Programming Language [Edit] |
| Language: | English |
| Pages: | 44 |
| File Size: | 477.23 KB |
| Extension: | |
| Creation Date: | 14 May 2025 |
| Rank: | 534,073 No 1 most popular |
| Short link: | Copy |
| More books like this book | |
The Publisher and the author
Book C#: 100 Simple Codes .
Email: [email protected]
C#: 100 Simple Codes
beginner-friendly collection of easy-to-understand C# examples
Each code snippet is designed to help you learn programming concepts step by step, from basic syntax to simple projects. Perfect for students, self-learners, and anyone who wants to practice C# in a fun and practical way.
Codes:
1. Print Hello World
2. Add Two Numbers
3. Swap Two Numbers
4. Check Even or Odd
5. Find Factorial of Number
6. Fibonacci Sequence
7. Check Prime Number
8. Find Max of 3 Numbers
9. Simple Calculator
10. Check Positive, Negative or Zero
===
11. Sum of Numbers in an Array
12. Reverse a String
13. Count Vowels in String
14. Check Palindrome
15. Find Minimum in Array
16. Check Leap Year
17. Print Multiplication Table
18. Simple For Loop
19. Simple While Loop
20. Simple Do-While Loop
===
21. Check if Number is Prime (Function)
22. Find Length of String
23. Convert String to Uppercase
24. Convert String to Lowercase
25. Find Power of a Number
26. Find Square Root
27. Check if Character is Digit
28. Check if Character is Letter
29. Reverse an Integer
30. Check Armstrong Number (3-digit)
===
31. Check if Number is Even (Using Function)
32. Find Average of Array Elements
33. Simple Menu with Switch Case
34. Find the Largest Element in Array
35. Simple String Concatenation
36. Check if Array Contains a Value
37. Sort Array Elements
38. Count Occurrences of Character in String
39. Use Ternary Operator
40. Simple Try-Catch for Error Handling
===
41. Convert Integer to String
42. Convert String to Integer
43. Check if String is Null or Empty
44. Check if String is Null or Whitespace
45. Use Math.Round()
46. Use Math.Floor()
47. Use Math.Ceiling()
48. Generate Random Number
49. Use foreach with Array
50. Convert Celsius to Fahrenheit
===
51. Convert Fahrenheit to Celsius
52. Check if Number is Positive
53. Check if Number is Negative
54. Convert Char to ASCII
55. Convert ASCII to Char
56. Print Even Numbers from 1 to 20
57. Print Odd Numbers from 1 to 20
58. Check if Character is Uppercase
59. Check if Character is Lowercase
60. Find Sum of Digits
===
61. Factorial Using Recursion
62. Reverse a Word Using Loop
63. Find GCD of Two Numbers
64. Find LCM of Two Numbers
65. Find First N Fibonacci Numbers
66. Replace Character in String
67. Find Maximum of Two Numbers Using Function
68. Swap Two Numbers Using Temp Variable
69. Swap Two Numbers Without Temp
70. Simple Calculator (Add, Subtract, Multiply, Divide)
===
71. Count Words in a Sentence
72. Check Palindrome (String)
73. Check Leap Year
74. Display Current Date and Time
75. Add Days to Current Date
76. Check if Number is a Perfect Number
77. Check if Number is Palindrome
78. Count Vowels in a String
79. Reverse Array
80. Print Multiplication Table
===
81. Check if Number is Armstrong
82. Find Power of a Number
83. Print Numbers Using While Loop
84. Print Numbers Using Do-While Loop
85. Use Switch Case
86. Find Max in Array
87. Find Min in Array
88. Count Even and Odd in Array
89. Print Star Triangle
90. Print Inverted Star Triangle
===
91. Check if Character is a Digit
92. Check if Character is a Letter
93. Check if String Contains a Word
94. Join Array of Strings
95. Split String into Words
96. Check if Number is Prime
97. Print Characters of a String
98. Remove All Spaces from String
99. Count Occurrence of a Character
100. Simple Login Check
===
Be the first one to Rate, Review and Quote from the book
Be the first one to Rate, Review and Quote from the book
E-books are complementary and supportive of paper books and never cancel it. With the click of a button, the e-book reaches anyone, anywhere in the world.
E-books may weaken your eyesight due to the glare of the screen. Support the book publisher by purchasing his original paper book. If you can access it and get it, do not hesitate to buy it.
Publish your book now for free
We require cookies for this site to function. Please enable them to continue.
نحن نظهر لك هذه الرسالة لأننا نحترم خصوصيتك.
By using this website, you consent to us collecting cookies to provide you with a better user experience,
more details.
You cannot browse the site since you refused the use of cookies, as the site relies primarily on them to work.
Intellectual property is reserved for the authors mentioned on the books and the library is not responsible for the ideas of the authors
Old and forgotten books that have become past to preserve Arab and Islamic heritage are published,
and books that their authors are accepted to published.
The Universal Declaration of Human Rights states: "Everyone has the right freely to participate in the cultural life of the community, to enjoy the arts and to share in scientific advancement and its benefits.Everyone has the right to the protection of the moral and material interests resulting from any scientific, literary or artistic production of which he is the author".