C#

C# (pronounced "C-sharp") is an object-oriented programming language from Microsoft that aims to combine the computing power of C++ with the programming ease of Visual Basic. C# is based on C++ and contains features similar to those of Java.

How to render a XML file/string into a TreeView component in Winforms with C#
Learn how to render a XML file/string into a TreeView widget in your Winforms application.
How to retrieve the Executable Path of a Console Application in C#
Learn how to retrieve the executable path of a C# Console based application.
How to solve Visual Studio Form Render exception: The class Form can be designed, but is not the first class in the file
Learn how to solve the problem on the visual studio form designer when you have 2 classes in the same file.
How to run any executable inside the System32 directory of Windows with C# in WinForms
Learn why applications inside the system32 directory cannot be started easily from your WinForms c# based application and how to start them properly.
How to open the administrative tools directory of Windows in WinForms with C#
Learn how to access the administrative tools directory of Windows with C#
How to solve C# exception: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made, ensure that your Main function has STAThreadAttribute marked on it
How to solve the "Current thread must be set to single thread apartment (STA) mode" exception in WinForms C#.
How to solve C# WinForms build exception: ClickOnce does not support the request execution level 'requireAdministrator.'
Learn how to prevent the "ClickOnce does not support the request execution level" exception from appearing in WinForms.
How to force a C# based WinForms applications to run with administrator rights on any environment?
Learn how to force a C# based WinForms application to initialize always with elevated privilegies (administrator rights).
How to determine whether windows update is enabled or not with C# in WinForms
Learn how to know if the windows update service is enabled in the system or not.
How to identify (detect and name) the antivirus software installed on the PC with C# on WinForms
Learn how to get the name of the active antivirus of your operative System in your Windows Forms application using C#.