What is the difference between these method signatures?

public void T MyMethod<T>(T parameter)

and

public void T MyMethod<T>(T parameter) where T : class

They seem to have the same result ... so what does where T : class do?

Edit
Report