Tuesday, March 21, 2006

Mga Grupo sa Google : microsoft.public.dotnet.general: "I don't think it is lack of smartness on the part of the compiler that is
the problem. The compiler is being quite smart enough when it declares that
you cannot set a fruit to an int. The fact that a fruit is represented
internally by an int is purely incidental. Externally, fruit is a set which
contains apple, orange, pear, etc. Unless you tell the compiler, explicitly,
that it can interpret 4 as a fruit then it should quite rightly get upset. "

0 Comments:

Post a Comment

<< Home