TECH I.S.

C# 2つの数値を加算する方法


2つの数値を加算

C#で2つの数値を加算する方法を学習します。

:::example {.techis-example}
### 例

{.language-csharp .techis-white}
int x = 5;
int y = 6;
int sum = x + y;
Console.WriteLine(sum); // Print the sum of x + y



:::example