Atitit. Summary of C # Java API directory Encapsulation structure mapping
|
C# |
Java |
Ref |
System.Reflection System.Type, |
Java.lang.ref |
Concurrent |
|
|
Thread |
System.Threading |
Java.lang.Thread |
Collection |
System.Collection |
Java.util.collection |
Io |
Sys.io |
|
|
Sys.text |
|
|
Sys.xml |
|
|
Sys.data.sql |
|
|
Sys.data |
|
|
Sys.web |
|
|
Sys.web.ui.webcontrols |
|
Ws |
Sys.web.service |
|
|
Sysl.timer |
|
|
Sys.secury |
|
|
Sys.net |
|
|
Sys.configulateion |
|
|
System.Linq |
|
|
System.Exception |
Java.lang.exception |
|
System. AppDomain |
ClassLoader |
SoftReference < T WeakReference |
System.Runtime.Caching.MemoryCache |
Java.lang.ref. |
Meta data |
The System.Type object for C #. To get metadata from an instance of a class |
Java's Java.lang.Class or |
Operator overloading |
C # general support, good ... |
string Connections in Java |
C # contains a preprocessor, which is equivalent to a limited subset of C + + preprocessor |
|
Java did not. |
Pointer |
|
|
C # javaKeyword mapping table
Reference to "translation" Comparison ofC # programming language and JAVA programming language (i)
2. List of key words
Java and c# , transient STRICTFP almost all java keywords all have c# java c# keyword comparison table, java keyword red and C # keyword blue.
Author:: Old Wow's paw attilax Ayron, email:[email protected]
Reprint please indicate source: Http://blog.csdn.net/attilax
Reference
Net namespace _ Baidu library . htm
"Translation" Comparison ofC # programming language and JAVA programming language (UP) -Lovecindywang- Blog Park . htm
"Translation" Comparison ofC # programming language and JAVA programming language (bottom) -Lovecindywang- Blog Park . htm
Atitit. Summary of C # Java API directory Encapsulation structure mapping