Hi there,<br><br>At the bottom of <a href="http://quickfixn.org/tutorial/repeating-groups">http://quickfixn.org/tutorial/repeating-groups</a>, we see this code<br><br><div style="margin-left:40px"><span style="font-family:courier new,monospace">var noSidesGrp = new QuickFix.FIX44.TradeCaptureReport.NoSidesGroup();</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">for(int grpIndex = 1; grpIndex<= message.GetInt(Tags.NoSides); grpIndex += 1)</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">{</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">    noSidesGrp = message.GetGroup(grpIndex, Tags.NoSides);</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">}</span><br style="font-family:courier new,monospace">
</div><br>This won't compile in VS2010 as noSidesGrp has type QuickFix.FIX44.TradeCaptureReport.NoSidesGroup but message.GetGroup returns the base class Group.<br><br>Is there any way we can call GetGroup and obtain the correct subclass of Group based on the input tags? I've looked into the UnitTests and they mostly test the base class Group.<br>
<br>I think in QuickFix/C++ we can call message.GetGroup(grpIndex, noSidesGrp) so that GetGroup gets the type information. Perhaps not quite idiomatic C#.<br><br>stan<br><br>