Lien Do
@LienDo
using System;
class MainClass {
class Arithmetric{
class Check{
public double Add (double a, double b, double c){
double sum = a + b +
using System;
class Arithmetric {
static public int Add (int a, int b, int c){
int sum = a + b + c;
Console.WriteLine (a + "+" + b + "+"
using System;
namespace MathMethod{
class MainClass {
static void Main (string[] args) {
MathMethod Math = new MathMethod();
Add();
S
C#
Jakman public static int Add(int firstnumber, int secondnumber)
{
return firstnumber - secondnumber;
}
this is the method for ur add thing if u want it.3 years ago
SixBeeps You declared the method from inside the main method. You need to declare it in the class, but outside of the main method.3 years ago