c# java语法对照表

c# Java c# Java c# Java c# Java
abstract abstract extern native operator N/A throw throw
as N/A false false out N/A true true
base super finally finally override N/A try try
bool boolean fixed N/A params ... typeof N/A
break break float float partial N/A uint N/A
byte N/A for for private private ulong N/A
case case foreach for protected N/A unchecked N/A
catch catch get N/A public public unsafe N/A
char char goto goto1 readonly N/A ushort N/A
checked N/A if if ref N/A using import
class class implicit N/A return return value N/A
const const1 in N/A sbyte byte virtual N/A
continue continue int int sealed final void void
decimal N/A interface interface set N/A volatile volatile
default default internal protected short short where extends
delegate N/A is instanceof sizeof N/A while while
do do lock synchronized stackalloc N/A yield N/A
double double long long static static : extends
else else namespace package string N/A : implements
enum N/A new new struct N/A N/A strictfp
event N/A null null switch switch N/A throws
explicit N/A object N/A this this N/A transient2
posted @ 2007-11-29 11:24  天际翔龙  阅读(1105)  评论(0编辑  收藏  举报