Below you will find pages that utilize the taxonomy term “Csharp”
Posts
Mars Lander 2 trigonometry - C# tutorial - CodinGame
Topics:
explanation of the trigonometry calculation of the landing angle
ArcoSine is the function to get the angle from the sine (desired acceleration)
conversion from angle in radians to angle in degrees
Solution Spoiler alert: first try to solve the problem by yourself. Or, try to write the code by yourself, while following the video tutorial.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 using System; // used by Math and by Console using System.
Posts
Mars Lander 2 - C# tutorial - CodinGame
Topics:
convert one line of text into a “List of integers”
“Tuple”: to group individually named-variables
“List of Tuple”: to identify the landing area
“Properties” can be used to give a name to often-used formulas
Solution Spoiler alert: first try to solve the problem by yourself. Or, try to write the code by yourself, while following the video tutorial.
Posts
Mars Lander - C# tutorial - CodinGame
Topics:
Constants.
We create our first “method”.
We create our first “function”.
Bool variables.
Conditions: “ternary operator”.
“class” defined, for now, as “a group of Methods and Functions”.
How to compare your code with other people’s code in CodinGame.
Posts
Onboarding - C# tutorial - CodinGame
Variable types: string
Variable types: integer
Conversion from string to integer
Comments in C#
Input, Output
Loop: while (condition)
Conditions: If Else
How to learn to code