a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
33 lines
371 B
C#
33 lines
371 B
C#
// CS0030: Cannot convert type `Position' to `Board.Stone'
|
|
// Line: 20
|
|
|
|
using System;
|
|
using System.Collections;
|
|
|
|
public class Position {
|
|
}
|
|
|
|
public class Board {
|
|
public enum Stone : int {
|
|
None = 0,
|
|
Empty = 1,
|
|
Black = 2,
|
|
White = 3
|
|
}
|
|
|
|
public Stone Get(Position p)
|
|
{
|
|
return (Stone)p;
|
|
}
|
|
|
|
public static void Main() {
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|