Assign the variable
"list" to a list with no elements
csharp 3var list = new List<object>();
using System.Collections.Generic;
class SolutionXX
{
static void Main()
{
var list = new List<object>();
}
}
fantom list := [,]
class SolutionXX
{
Void main()
{
list := [,]
}
}
Submit a new solution for
csharp,
clojure, or
fantom
There are 22 other solutions in
additional languages (
cpp,
erlang,
fsharp,
go ...)