(Delphi-like) Limited-bounds-types?

  • Thread starter Thread starter matko
  • Start date Start date
It sure helps that the guy that probably invented this functionality for
Delphi/Object Pascal is the same guy in charge of C# (Anders)...

I also perpetually salivate for Delphi-like sets to be included as part of
C#... I really miss constructs like "if (a in [2,4,5,10-20]) then ..."

gabriel
 
Is that so?
Well, I love Delphi and as soon as I saw C# (which was not long ago) I
fell in love. Sounds so dramatic, but C# is a really nice programming
language.

Gabriel Magaña skrev:
It sure helps that the guy that probably invented this functionality for
Delphi/Object Pascal is the same guy in charge of C# (Anders)...

I also perpetually salivate for Delphi-like sets to be included as part of
C#... I really miss constructs like "if (a in [2,4,5,10-20]) then ..."

gabriel

matko said:
Oh, sure.
Delphi _is_, more-or-less (more more than less), Pascal.

Anyway, I'd love this to be a part of C#. It's neat and helpful
functionality.

Thanks for all comments ;)
 
Back
Top