avatar
k*i
1
又发信骚扰说从MCSD.NET升级到MCPD: Enterprise Applications Developer只
要考两门.
avatar
m*a
2
到M$来吧。把简历给我。考试就免费了
m*********[email protected]

【在 k****i 的大作中提到】
: 又发信骚扰说从MCSD.NET升级到MCPD: Enterprise Applications Developer只
: 要考两门.

avatar
k*i
3
Wow, you should get high score in those company promoting columns during the
year-end review! Hope next time I can tell people I just save some bucks by
switching to M$. :)
Right, I won't upgrade it unless the company will reimburse it. Also, for me
.net 2.0 is more like a transition version which is supposed to be replaced
by a more feature-attractive 3.0 version soon(hopefully).

【在 m*****a 的大作中提到】
: 到M$来吧。把简历给我。考试就免费了
: m*********[email protected]

avatar
r*y
4
2.0 is much better than 1.1, but still not matured. Say, matrix
operation is slow; multimedia support is poor; not cross-platforms.

the
by
me
replaced

【在 k****i 的大作中提到】
: Wow, you should get high score in those company promoting columns during the
: year-end review! Hope next time I can tell people I just save some bucks by
: switching to M$. :)
: Right, I won't upgrade it unless the company will reimburse it. Also, for me
: .net 2.0 is more like a transition version which is supposed to be replaced
: by a more feature-attractive 3.0 version soon(hopefully).

avatar
f*e
5
I don't like the "var" variable in 3.0

the
by
me
replaced

【在 k****i 的大作中提到】
: Wow, you should get high score in those company promoting columns during the
: year-end review! Hope next time I can tell people I just save some bucks by
: switching to M$. :)
: Right, I won't upgrade it unless the company will reimburse it. Also, for me
: .net 2.0 is more like a transition version which is supposed to be replaced
: by a more feature-attractive 3.0 version soon(hopefully).

avatar
r*y
6
The thing is: why introduce it.
This "why" is interesting. I'm curious.

【在 f*****e 的大作中提到】
: I don't like the "var" variable in 3.0
:
: the
: by
: me
: replaced

avatar
f*e
7
to satisfy those stupid vb programers

【在 r****y 的大作中提到】
: The thing is: why introduce it.
: This "why" is interesting. I'm curious.

avatar
r*y
8
This is even weird. If want to satisfy, should introduce this in v1.1, and
then gradually get rid of it in v3.0.

【在 f*****e 的大作中提到】
: to satisfy those stupid vb programers
avatar
k*i
9
You must be misunderstood what 'var' really means in C# 3.0 as I was when I
first heard about it. It's not the one that we are familiar with in
javascript and there is a strong reason to introduce it into c# 3.0.
'var' is just a shortcut for variable declaration: we don't have to type all
the words for the variable type on the left hand side, the compiler will
INFER the type of the variable from the right hand side. If you look at the
IL, the variable is still strong typed, which means you can't

【在 f*****e 的大作中提到】
: to satisfy those stupid vb programers
avatar
r*y
10
Good explanation for self-completness.
If so, why not simply declare it as 'Object' instead of 'var'?

I
all
the
another

【在 k****i 的大作中提到】
: You must be misunderstood what 'var' really means in C# 3.0 as I was when I
: first heard about it. It's not the one that we are familiar with in
: javascript and there is a strong reason to introduce it into c# 3.0.
: 'var' is just a shortcut for variable declaration: we don't have to type all
: the words for the variable type on the left hand side, the compiler will
: INFER the type of the variable from the right hand side. If you look at the
: IL, the variable is still strong typed, which means you can't

avatar
k*i
11
Don't forget 'var' is just a declaration shortcut. The same question would
be 'Why not just declare it as 'Object' instead of 'int/double,...''?
And you can read more about anonymous method in c# 3.0 if interested.

【在 r****y 的大作中提到】
: Good explanation for self-completness.
: If so, why not simply declare it as 'Object' instead of 'var'?
:
: I
: all
: the
: another

avatar
v*n
12
right, one more example, for query expression like
var q = from c in Custs
where c.age > 20
select new {c.name, c.city};
you don't know / want to know the type of q. let the compile do it for you.

【在 k****i 的大作中提到】
: Don't forget 'var' is just a declaration shortcut. The same question would
: be 'Why not just declare it as 'Object' instead of 'int/double,...''?
: And you can read more about anonymous method in c# 3.0 if interested.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。