Learn how to add two numbers in C#:
int x = 5; int y = 6; int sum = x + y; Console.WriteLine(sum); // Print the sum of x + y
Try it Yourself »
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!