Practical solutions

C# Howtos How-To Guides

Solve the problem. Keep building. Collection of C# how-to articles

Find the answer you need

Browse practical solutions, grouped by the task you're working on.

__COUNT__ entries on this page

How to Write to the Event Log Application in C#In this article, we will learn about writing to the event log application. There is no need to create a new Event Source repeatedly to write. We can write EventLog to an existing event source, but the name of Eventlog source should be the same as the EventLog name. How to Sort List in Descending Order in C#In this article, we'll learn how to sort a list in descending order in C#. How to Compile C# in Command LineThis tutorial demonstrates how to compile C# in command line. How to Implement a Property in an Interface in C#This article teaches how to implement a property in an interface in C#. How to Open Folder Dialog in C#This tutorial demonstrates how to open a folder dialog in C#. How to Comment a Block of Text in C#This tutorial teaches you how to comment a block of text or code in C#. How to Query User Information From Active Directory in C#This tutorial teaches how the user can query information from Active Directory in C#. How to Get the Current Method Name in C#In this article, we'll learn how to get the current method name that is being executed in C#. How to Get Computer Name in C#This tutorial teaches many ways you can get the computer name in C#. How to Create a SOAP Service in C#In this article, we'll learn what SOAP client is and how to create a SOAP service in C#. How to Write a Backslash in a String in C#In this article, we'll learn how to write a backslash in a string in C#. How to Make a CURL Call in C#This tutorial will teach you how to make a CURL call in C#. How to Create StringStream in C#This comprehensive tutorial teaches how to create and use StringStream in C#. How to Check Prime Number in C#This tutorial shows how to check and find prime numbers in C#. How to Create Rock Paper Scissors Game in C#In this article, we'll learn how to create a rock paper scissors game in C#. How to Convert Dictionary to List Collection in C#This tutorial will demonstrate how to convert a dictionary to a list collection in C#. How to Use of the Object Sender in C#In this article, we'll take a look at what an Object Sender is and how it may be used in C# programming. How to Select Query for Database in C#A complete programming tutorial about setting-up database connections and retrieving records using SELECT query in C#. How to Create a UDP Server in C#In this article, we'll learn how to create a UDP server in C#. How to Add Placeholder to a Textbox in C#This tutorial demonstrates the methods to add placeholder to a textbox in C#. How to Parse Command Line Arguments in C#In this post, we'll examine the various techniques to parsexa0command-line parameters in C# code. How to Group by Multiple Columns in LINQ Queries Using C#This is an article about the use of LINQ queries and how we can group by columns using LINQ queries. How to Set Up Client-Server Communication in C#A programming tutorial explaining how to set up client-server communication in .NET framework using C#. How to Compress and Decompress a String in C#In this article, we'll learn how to compress or decompress a string size in C#.