2015년 9월 21일 월요일

[ C# ] 난수 발생 Random

난수 발생시키기
public static int RandomNumber(int min, int max)
{
    lock(syncLock) { // synchronize
        return random.Next(min, max);
    }

}

댓글 없음:

댓글 쓰기