3 ms·
I don't think so. The syntax of C# is far closer to Java than it is to VB. C# has often been described as "Microsoft's version of Java", and if you read about
by motters 16y ago
I don't think so. The syntax of C# is far closer to Java than it is to VB. C# has often been described as "Microsoft's version of Java", and if you read about the history of those languages you'll see why. It would be far easier for someone familiar with Java to move to C# (or vice versa) than to move between VB and C#.
- necubi 16y agoThat's what latch was saying: Java and C# are similar in syntax, but C# and VB.Net are similar in more important ways.
- ryanpetrich 16y agoC# has identical syntax to Java, but it's object model, libraries, IDE and supporting environment are identical to VB.NET. Syntax is the easiest part of a language to learn.
- jonpaul 16y agoI disagree. A person would have a much easier time transitioning from C# to VB.NET than C# to Java. This is simply because the libraries in C# and VB.NET are the exact same since they both run on the CLR. The syntax learning curve may be steeper, but I believe that it's more difficult to learn the libraries. Edit: Ooops... it looks like I agree. Can I blame my misunderstanding on a case of the Tuesday's?
- latch 16y agoI'm not sure if you read my comment, but I specifically said that C# and Java share the same syntax. C# and VB.NET share lambdas, linq, anonymous functions, delegates. They share the same implementation of generics (which is different than Java), the same type system (which is different than Java, enums, nullables), covariance, contravariance. They share the same frameworks (WPF, Silverlight, WebForms, WinForms, MVC, ...), and the same IDE and other tooling. They share the same patterns: deterministic finalization, asynchronous programming, fluent interfaces. They share the same language shortcuts: auto-properties, properties, collection initializers, ... Java and C# share braces, semi-colons, &&. Java and C# are more similar for about 30 seconds.