public static void ChapterFour() { #region [ File I/O and Network] FilesExample fe = new FilesExample(); //fe.FileStream(); //fe.FileStreamImprove(); //fe.StreamWriterAndReader(); //fe.ChainStreams(); //fe.FileHelperClass(); //fe.ExceptionHandling(); //fe.FileStorage(); //fe.FileInfo(); //fe.Directory(); //fe.SearchFiles(); NetworkReadsAndWrites nraw = new NetworkReadsAndWrites(); //_ = nraw.WebRequest(); //_ = nraw.WebClient(); //_ = nraw.HttpClient(); #endregion #region [ Consume Data ] ConsumeDataExample cd = new ConsumeDataExample(); //cd.ConsumeJsonData(); //cd.ConsumeXmlData(); //cd.ConsumeXmlDataInDOM(); //cd.ConsumeSoapClient(5,6); #endregion #region [ LINQ ] QueryLinqData qld = new QueryLinqData(); //qld.Query(); //qld.Projection(); //qld.Join(); //qld.Group(); LinqToXML ltx = new LinqToXML(); //ltx.ReadXml(); //ltx.FilterXml(); //ltx.CreateAddModifyXmlWithLinq(); #endregion #region [ Data Serialization and Deserialization ] SerializeData sd = new SerializeData(); //sd.BinarySerialization(); //sd.BinaryDeserialization(); CustomSerialization cs = new CustomSerialization(); //cs.ArtistsSerializationApproachOne(); //cs.ArtSerializationApproachTwo(); VersioningSerialization vs = new VersioningSerialization(); //vs.Versionate(); SerializeXML sxml = new SerializeXML(); //sxml.XMLSerialize(); DataContractSerializerXML dcs = new DataContractSerializerXML(); //dcs.SerializeWithDataContractSerializer(); #endregion #region [ Collections ] StoreAndRetrieve sar = new StoreAndRetrieve(); //sar.BasicCollections(); //sar.CountLetterOccurencies(); //sar.HashSets(); //sar.StacksAndQueues(); CustomCollections cc = new CustomCollections(); //cc.CustomCollectionWithList(); //cc.CustomeCollectionWithCollection(); #endregion }