4.7. Generated Code (C#)

4.7.1. [Major] Optional sequences not supported for C#

Previously, optional sequences were not supported for C#. Now, they are implemented in both the C# API and in Code Generator’s generated code.

For example, if you generate code for the following IDL:

MyStruct {
    @Optional sequence<long> m1;
};

You will be able to write and read this type with null as the value of the member m1 or with an actual senquence as the value of the member m1.

[RTI Issue ID CODEGENII-1503]