About 313,000 results
Open links in new tab
  1. What are major differences between C# and Java? - Stack Overflow

    Nov 17, 2008 · Comparing Java 7 and C# 3 (Some features of Java 7 aren't mentioned here, but the using statement advantage of all versions of C# over Java 1-6 has been removed.) Not all …

  2. C# vs Java Enum (for those new to C#) - Stack Overflow

    Jan 22, 2009 · Can anyone enumerate the differences between C# and Java enums, and how to overcome the differences? (I don't want to start a language flame war, I just want to know how …

  3. C# vs Java generics - Stack Overflow

    In effect Java generics are a compile time artifact and can easily be subverted at runtime. C# on the other hand, by virtue of the CLR, implement generics all they way down to the byte code.

  4. Java and C#, how close are they? - Stack Overflow

    On the syntax level, Java was influenced by Smalltalk, while C# tried to stay closer to C/C++ (eg: compare Java's extends and implements with C#'s : notation) and took a vague inspiration …

  5. Getters, setters, and properties best practices. Java vs. C#

    I'm just curious to see how these practices fit in with the various ways of providing setters and getters in C#; essentially, how would I translate best-practices from the Java world into C#?

  6. What are the differences between C, C# and C++ in terms of real …

    Mar 28, 2009 · Closures (Anonymous Methods with Local Variable Capture) Java and C are practically the last remaining mainstream languages to lack closures, and libraries can be …

  7. Difference between namespace in C# and package in Java

    Aug 19, 2013 · No such restriction in C#. In C# you can have multiple namespaces in one file. In Java one file belongs to one package (see previous). Java has default/package accessibility. …

  8. What is the equivalent of Java's final in C#? - Stack Overflow

    Aug 25, 2009 · good answer - there is one more usage of "final" in java though - on a local variable or method parameter to prevent reassigning it. There is no c# direct equivalent of this.

  9. c# - Why would you use String.Equals over ==? - Stack Overflow

    Nov 2, 2009 · Re : Duplicate closure - note that this question is specifically for string, whereas the accepted answer in the referenced duplicate refers to the general case of object. This is …

  10. What is the difference between the | and || or operators?

    Aug 29, 2008 · I have always used || (two pipes) in OR expressions, both in C# and PHP. Occasionally I see a single pipe used: |. What is the difference between those two usages? …