Java vs. C#

Keywords & Reserved Words


Java
 
52
abstract     do         if           package      synchronized 
boolean      double     implements   private      this 
break        else       import       protected    throw 
byte         extends    instanceof   public       throws 
case         false      int          return       transient 
catch        final      interface    short        true 
char         finally    long         static       try 
class        float      native       strictfp     void 
const        for        new          super        volatile 
continue     goto       null         switch       while 
default      assert(1.4)             enum(1.5)






C# doesn't have assert boolean extends final implements instanceof native package strictfp super synchronized throws transient

C#
 
77
abstract     as         base         bool         break
byte         case       catch        char         checked
class        const      continue     decimal      default
delegate     do         double       else         enum
event        explicit   extern       false        finally
fixed        float      for          foreach      goto
if           implicit   in           int          interface
internal     is         lock         long         namespace
new          null       object       operator     out
override     params     private      protected    public
readonly     ref        return       sbyte        sealed
short        sizeof     stackalloc   static       string
struct       switch     this         throw        true
try          typeof     uint         ulong        unchecked
unsafe       ushort     using        virtual      void
volatile     while

Java doesn't have as base bool checked decimal delegate event explicit extern fixed foreach implicit int internal is lock namespace object operator out override params readonly ref sbyte sealed sizeof stackalloc string struct typeof uint ulong unchecked unsafe ushort using virtual