5

Coming from a Java background learning C#.

The only question is, why? Why do I have to be so verbose when defining 'virtual' methods?

Comments
  • 3
    You mean just adding "virtual" to the method? You should be rejoicing that you have real properties.
  • 2
    To make things really clear and to avoid accidental fuck ups; be it by you or some-one else if you're working on a team...?
  • 4
    C# is verbose, but no more than Java.

    *Sips auto properties cup*
  • 2
    coming from C#, what do you mean verbose?
  • 4
    coming from verbose, what do you mean C# ?
  • 0
    Also, you don't have to use virtual/override; you can just shadow the base implementation by adding a method with the same signature (to which your ide should say "hey, add a new keyword if you really wanted to do that but if you don't that's cool too")
Your Job Suck?
Get a Better Job
Add Comment