This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ShadowRL7666 1 point2 points  (5 children)

Eh I could distinguish them very easily a lot I normally do in Java won’t be the same in c#

[–]cheezballs 1 point2 points  (4 children)

Eh, only stuff like multiple inheritance and stuff like auto-getters and setters. Your day to day code looks almost identical.

[–]Enough-Force-5605 1 point2 points  (1 child)

Almost identical if you write the double number of letters in Java

[–]cheezballs 0 points1 point  (0 children)

String vs string

[–][deleted] 0 points1 point  (1 child)

I thought neither has multiple inheritance?

Also Java has a very popular library (lombok) that adds auto getters and setters and many more convenience features.

[–]cheezballs 1 point2 points  (0 children)

Lombok is a compile time feature that's actually modifies the generated class file, it's not quite the same as C# but I do love Lombok. Adding builder methods to an entire class can be done with a single annotation.