add a comment |. up vote 3 down vote. If you serialize an instance of the main class, the serializer will serialize an instance of the nested class if and only if the object graph contains one. In this respect, nested classes are exactly the same as all other classes.Basically you have to create properties for the nested class in the main one.he reason you are getting an empty XML file is that your SampleClass has no properties to serialize. In the constructor you are creating a Person and Address which are thrown away as soon as the method exists as you are not using them for anything. Change your code as follows and you should have more success.
In 2007, archaeologists confirmed what local historians and others could not: the existence of a Continental Army burial ground where at least 300 soldiers lie forgotten in unmarked graves upon land once known as the Fishkill Supply Depot.
Hudson Falls, New York. Buildings in Hudson Falls Historic District, July, 2014. Hudson Falls is a village located in Washington County, New York, USA. The village is in the southwest of the town of Kingsbury, on US Route 4. Hudson Falls is part of the Glens Falls Metropolitan Statistical Area. As of the 2000 census, the village had a population of 6,927. It was the county seat of Washington County until 1994, when the county seat was moved to Fort Edward.