﻿using Microsoft.CodeAnalysis.CSharp.Scripting;
using System.Runtime;
using System.Threading.Tasks;

namespace CsharpScripting
{
    public class TestMethodUsedInScript
    {
        public int Min(int parA, int parB)
        {
            int result;

            if (parA < parB)
            { result = parA; }
            else
            { result = parB; }

            return result;
        }

        public static int StaticMin(int a, int b)
        {
            int result;

            if (a < b)
            { result = a; }
            else
            { result = b; }

            return result;
        }
    }
}
