Atitit. Summary of C # Java API folder Encapsulation structure mapping

Source: Internet
Author: User
Tags comparison table keyword list

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.