16
digit
6y

When someone tries to generate getters and setters in C# as if it was Java, you may think: "He is starting!"... And then you ask: "How long have you been working with C#?"

Surprising answer: "1 year" 😱

What have you been doing till now?

Comments
  • 1
    How do you make it in java?
  • 0
    @Codex404 well in java if you have basic g/s, you make the variable public. But i guess this dude just wanted to autogenerate them?
  • 1
    @sharktits just making it public? Thats not remotely the same.
  • 0
    @Codex404 not remotely the same as what
  • 1
    @sharktits what you meant and getters and setters in C#
  • 4
    @Codex404 in C# you just type { get; set; } and that works... Just syntactic sugar...
    In Java you need to implement two complete new methods for getter and setter... Too much verbose...
Add Comment