C# code generation version

what version of C# is generated when using code generator

Hi user,

Thanks for your post. We generate .NET Framework 2.0 in code generation for C#. If there is any further inquiry, please feel free to ask.

Best regards,
Lilian Wong

Thank you very much.

sorry for the double post but I can’t find an edit button, anyway C2 or C3 version?

Hi user,

Thanks for replying. I would like to add that in Instant Generator (available in VP-UML/SDE Standard Edition or above) and round-trip engineering (in SDE Professional Edition for Visual Studio), the version of .NET Framework cannot be set (we generate .NET Framework 2.0).

Only if you use ORM code generation (available in Professional Edition or above), you can select .NET Framework 1.1 or 2.0.

For “C2 or C3 version”, do you mean C# 2.0 and C# 3.0?
Could you tell me what exactly you want to do? Thanks!

Best regards,
Lilian Wong
orm.png

[quote=LilianWong]Hi user,


For “C2 or C3 version”, do you mean C# 2.0 and C# 3.0?
Could you tell me what exactly you want to do? Thanks!

Best regards,
Lilian Wong[/quote]

yes ma’am, is the C# code version generated C#2.0 or C# 3.0?

Hi user,

Thanks for replying. The version of C# will follow the version of .NET Framework i.e. C# 2.0 for .NET Framework 2.0.

If you need any help, please feel free to let me know.

Best regards,
Lilian Wong

thanks you very much ma’am, consider this thread resolved -donVP

Hi DonVP,

You are welcome. :smiley:

Best regards,
Lilian Wong