Generics are not supported in Unity at the moment because I believe it is using .NET 1.1.
I dont know if there’s a plan for Unity to upgrade to using .Net 2 or 3, but doing that will probably cause file sizes to increase, so I doubt if it will be worth it.
Bububear is right.
Unity iPhone is .NET 1.1 and likely will remain on that as it already now needs to cut / restrict functionality to even compile any longer for the iPhone due to the size of the corelib
Templates are not a design pattern, they are a language feature unique to C++. C# does not have templates.
C# does have generics, which are what you are trying to do. When you write MyClass, you are trying to use/define a generic, and as you know, Unity iPhone does not support generics, hence the parsing error.