新建类库
Add.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CalMethods
{
public class AddClass
{
public static long Add(long i, long j)
{
return (i + j);
}
}
}
Mult.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CalMethods
{
public class MultClass
{
public static long Mult(long x, long y)
{
return (x * y);
}
}
}