Atitit. Summary of C # Java API folder 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 # includes pre-processors. is equivalent to a limited subset of C + + pre-processors |
|
Java did not. |
Pointer |
|
|
C # javaKeyword mapping table
Reference "translation" Comparison ofC # programming language and JAVA programming language (UP)
2. Keyword list
Java and C # have very many grammars that are very similar. Except throws,transient and strictfp almost all Java keyword all have C # 's corresponding.
Represents the keyword comparison table for Java and C # . Javakeyword is labeled red and C #keyword blue.
Author:: Old Wow's paw attilax Ayron, email:[email protected]
Reprint please indicate source: Http://blog.csdn.net/attilax
References
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 folder Encapsulation structure mapping