It is ToString(); C# is case sensitive.
Also, as already explained in the comments, you don't need to use the as Object
conversione because every class in C# has the ToString() method defined because every class derive from object
However, if the code above is exactly your code, you have another problem.
The variable stud of type T is not initialized anywhere and using
(stud as Object).ToString()
will result in a null reference exception