Before also very shallow contact with Java, so now is also a new learning a language, basic beginning to read, and C # difference is not big (is said to be different companies, a group of people out, want to change is not difficult).
C # and Java Primary knowledge:
1, a lot of system object methods are similar, the same method name, the same role, the case is slightly different;
2,c# has proxies and indexers, Java does not have this concept, the controller layout Java does not know whether the underlying is similar;
3,c# enumeration types are used more, Java projects are slightly rare;
4, for exception handling, C # more convenient (personal feeling), C # does not provide throws keyword
5, inheritance and interface implementations cannot be distinguished by declarations, but are declared the same way.
6,c# can allow unsafe code (using pointers);
When it comes to pointers, some of the differences between C # and C are well sorted out
1,c need to be declared first and must be placed at the top of the method.
2,c# does not support union types.
3, C # does not have bit fields, define variables to occupy at least one byte of space
Follow-up will record some of the Java learning experience. Welcome criticism
Due to the need to do the Java project, I would like to record learning Java daily