.NET can't deserialize nested structs?
问题 I'm running into issues getting C# (VS2008, Compact Framework, .NET is version 3.5 SP1) to successfully deserialize nested structs. The problem only appears in CF when I'm running on the emulator for the mobile device (I'm using the "Pocket PC 2003 Second Edition" emulator), the exact same code running on my Windows box does not have the same problem. Here's my code: public struct Fred { public string Name; } public struct Middle { public Fred[] Freds; } public struct Top { public Middle