var

var doc = new { Title = "标题", Content = "内容" };
Response.Write(doc.Title);

int id = 1;
int value = 2;
var obj = new { id, value };
Response.Write(obj.value.ToString());
posted @ 2009-09-23 12:45  greencolor  阅读(153)  评论(0编辑  收藏  举报