This commit is contained in:
2026-04-14 20:10:10 +05:00
parent c88eeabfa8
commit bf078b5206
6 changed files with 343 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
public class Calculator
{
public double Addiction(double x, double y) => x + y;
public double Subtraction(double x, double y) => x - y;
public double Multipliction(double x, double y) => x * y;
public double Division(double x, double y) => x / y;
public long Multipliction(long x, long y) => x * y;
public long Addiction(long x, long y) => x + y;
}
}

View File

@@ -43,6 +43,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Calculator.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>