obfuz/Obfuz/Assets/Scripts/Algorithm.cs

19 lines
313 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Algorithm
{
public int Add(int a, int b)
{
return a + b;
}
public int ComputeHashCode(int a)
{
int hash = 17;
hash = hash * 23 + a.GetHashCode();
return hash;
}
}