我有一个方法(在这种情况下是静态的),我不太清楚定义它的确切语法。
static member FindPath : Queue<Node> startNode : Node endNode : Node nodes : List<Node> =
//this method will call two other to be constructed methods and return a
//queue that is the return value of one of them
return new Queue<Node>()
startNode
它在第一个节点和第一个节点之间的冒号上失败:
“标记类型中的语法错误”
制作这样的方法的最佳方法是什么?