Having the following generic class that would contain either string, int, float, long as the type:
string, int, float, long
public class MyData
In that case you need MyData since that is the only thing those types have in common.
MyData