public void TestMarkovSerialization() { var m = new MarkovGenerator(MarkovRuleType.XrayChar, 3); var xm = m.ToXml(); var mm = new MarkovGenerator().FromXML(xm); mm.Source = "This and that are some. More of the. Oh, whatever the that, then. You know this? This is what I mean. That or that and or of yes."; Console.WriteLine(mm.Munged); Console.ReadKey(); }