private void interfaceXmlWriter()
            {
                Console.WriteLine("Writing XML > Write using XmlWriter Class");
                Console.WriteLine("===========");
                Console.WriteLine("1. Simple Writing");
                Console.WriteLine("2. Writing Attributes");
                Console.WriteLine("3. Formatting");
                Console.WriteLine("4. Write to StringBuilder");
                Console.Write("Select: ");
                var input = Console.ReadLine();

                switch (input)
                {
                case "1":
                    XmlWriterHelper.GetInstance().SimpleWriting();
                    break;

                case "2":
                    XmlWriterHelper.GetInstance().WritingAttributes();
                    break;

                case "3":
                    XmlWriterHelper.GetInstance().Formatting();
                    break;

                case "4":
                    XmlWriterHelper.GetInstance().WriteToStringBuilder();
                    break;
                }
            }