thekid/rfc — Issue #214: Generic methods
Author: thekid
Created: 2011-10-10 16:06:01+00:00
State: open
Labels: framework, language

General syntax
---------------------
```xp
modifiers type name(arguments)
^^^
```

Example from C#:
------------------------
```csharp
using System;

class Serializer
{
public T valueOf(string input)
{
return default(T);
}
}

public class GM
{

public static void Main()
{
var s = new Serializer();
Console.WriteLine(s.valueOf("i:1;"));
}
}
```

Output is: `0`