Serialize Object to XML in C# | Write Object Data to XML File in C#

This article guides you to serialize object to XML in C#. Below is a complete example to show writing the data…

7 years ago

What is the use of Application.EnableVisualStyles()?

The Entry point method of C#  Winform application looks as below, [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1());…

7 years ago

XPATH With Default Namespace In C# – XPathNavigator

This article explains the sample C# code with XPathNavigator to select an XML element from an XML file which is…

7 years ago

String Value Enum with Space in between – Description Attribute

Enum with spaces C#: If you give a space in string value of Enum, it would generate a compilation error.…

7 years ago

What Is SetCompatibleTextRenderingDefault (false)

This article is just to give you a brief idea about SetCompatibleTextRenderingDefault and what happens if we pass true instead of…

7 years ago

How To Create Custom Control in C# Windows Forms

Custom controls are specialized controls in .NET derived from Control class. In this article, we explain the step by step process of…

7 years ago