It won't run in a browser, only on the server. Or only as a standalone application.
And this is a dead giveaway:
class Card extends System.Object
System.Object is the .NET framework base object class.
It's a "freak" language. Seldom used, even by MS-centric people. I suspect the only place Swahnsoon will get any help for this will be on the forums at www.asp.net
-- and even there he'll only find a handful of people using the language.