I'm struggling with something, is there a way to check if the XmlSchemaParticle EmptyParticle or not?
XmlSchemaParticle.EmptyParticle seems to be a private inner class of the XmlSchemaParticle .
What I'm doing right now is particle.GetType().Name == "EmptyParticle" and I find it pretty ugly.
Any other option?
c # xml xsd
Bertrand marron
source share