Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyClass
- {
- string colour1 = "yellow";
- int maxspeed1 = 400;
- public void topgear()
- {
- Console.WriteLine ("The car is going top speed.")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement