Microsoft Developer Network > 포럼 홈 > Building Development and Diagnostic Tools for .Net > C# tuple 2.0 - Logic to be rewritten in 1.1 framework
질문하기질문하기
 

답변됨C# tuple 2.0 - Logic to be rewritten in 1.1 framework

  • 2009년 6월 22일 월요일 오후 8:36CSharp Consultant 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hi,

    We are into Reports development using C# and PDF Library (for front end). The development is done in Visual studio 2005/2.0 framework. Now since the production has 1.1 framework, I was asked to "downgrade" to VS 2003.
    The problem is we have Tuple/generics in 2.0. After I recreated the project in 1.1, it is giving me all kinds of errors.

    Can you please help me out, point me in the direction of how to recreate the tuple logic in VS 2003?

    Thank you

답변

  • 2009년 6월 22일 월요일 오후 11:26Karel ZikmundMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Which Tuple class do you mean? The only Tuple around I know about will be part of next .NET Framework 4.0 release (see Tuple class pre-release documentation).

    In general, if some feature was new in 2.0 and it is not part of 1.1 (e.g. generics) and you need it on 1.1, then you will have to work around it. For example, create your own Tuple or use object with casting instead of having a generic class. There is no simple easy automated way how to "downgrade" your sources or binaries from 2.0 to 1.1.

    -Karel

모든 응답

  • 2009년 6월 22일 월요일 오후 11:26Karel ZikmundMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Which Tuple class do you mean? The only Tuple around I know about will be part of next .NET Framework 4.0 release (see Tuple class pre-release documentation).

    In general, if some feature was new in 2.0 and it is not part of 1.1 (e.g. generics) and you need it on 1.1, then you will have to work around it. For example, create your own Tuple or use object with casting instead of having a generic class. There is no simple easy automated way how to "downgrade" your sources or binaries from 2.0 to 1.1.

    -Karel