Run ❯
×
Change Orientation
Change Theme, Dark/Light
using System; namespace MyApplication { class Program { static int PlusMethodInt(int x, int y) { return x + y; } static double PlusMethodDouble(double x, double y) { return x + y; } static void Main(string[] args) { int myNum1 = PlusMethodInt(8, 5); double myNum2 = PlusMethodDouble(4.3, 6.26); Console.WriteLine("Int: " + myNum1); Console.WriteLine("Double: " + myNum2); } } }
Int: 13
Double: 10.559999999999999