-
Notifications
You must be signed in to change notification settings - Fork 1
Tea 与 C# 的不同点
xuld edited this page Mar 14, 2014
·
6 revisions
C# 代码 | 等效的 Tea 代码 | 不同的原因 |
---|---|---|
using 名字空间; | import 包; | 叫法不同 |
namespace A{} | module A; // 一个文件只能用一次 | |
extern alias s; s::System.IO.File; | import module as s; s.File | |
internal | (无) | |
A a = new A(1) {p = 4, t = 2}; | A a = new A(1)..p = 4..t = 2; | |
foreach(int item in arr){
|