xp-framework/rfc — Issue #214: RFC 0214: Generic methods
Author: thekid
Created: 2011-10-17 16:10:35+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`