Please, learn the very basics of C# before you start working in Unity, because there is a lot wrong with this code:
- You cannot declare a field inside a method.
- You cannot declare a class inside a method.
- You cannot declare a class like an abstract method.
- You cannot separate parameters with semicolons; you need to use commas instead.