Topics

Csharp

About this topic: Articles tagged __TAG__

Showing 446 articles

Topics

Articles

Showing 446 articles

How-tos How to Merge Two Arrays in C# There are 3 main methods that can be used to merge two arrays in C#, the Array.Copy() function, the Array.Resize() function, and the Linq method. How-tos How to Truncate a String in C# We will discuss different methods on how to truncate a string in C#. How-tos How to Sort DataTable in C# There are several methods that can be used to sort a datatable in C#. Each method has its unique syntax and use cases, offering flexibility based on specific sorting requirements. How-tos How to Shuffle an Array in C# In this article we'll discuss the three ways that can be used to shuffle an array in C#. How-tos How to Have Numbers Only in TextBox in C# There are two main methods that can be used to create a text box that only accepts numbers in C#, the NumberUpDown View and the TextBox view. How-tos How to Convert String to Hex in C# There are various methods that can be used to convert a string to hexadecimal format in C#, and we will discuss them all here. How-tos How to Convert Int to Bool in C# There are two main methods that can be used to convert integer to bool in C#, the Convert.ToBoolean() function and the switch statement. How-tos How to Read XLSX File in C# There are 2 main methods that can be used to read an xlsx file in C#, the LinqToExcel package, and the ExcelDataReader package. How-tos How to Convert List to IEnumerable in C# There is no need to convert a List to an IEnumerable because the List data structure already implements the IEnumerable interface but we can still use some methods to cast a List … How-tos How to Convert JSON String to C# Object This tutorial demonstrates how to convert a JSON string to C# by using the DeserializeObject function provided by the Newtonsoft.Json package or the JavaScriptSerializer How-tos How to Create an Input Dialog Box in C# This tutorial demonstrates how to create an input dialog box in C# using the Visual Basic InputBox or a custom dialog box How-tos How to Initialize an Empty Array in C# This tutorial demonstrates how you can initialize an empty array in C# How-tos How to Connect to SQL Database on C# This tutorial demonstrates how to connect to a SQL database on C# using SqlConnection object. How-tos How to Calculate MD5 Hash From a String in C# This tutorial teaches how to calculate MD5 hash from a string in C#. How-tos How to Convert String Array to String in C# In this article we'll learn how to convert a string array to a single string in C#. How-tos How to Sort a List by a Field in C# In this article, we will show various methods on how to sort a list by a field in C#. How-tos How to Generate a UUID in C# In this article we'll talk about how to generate a UUID in C#. How-tos How to Declare an Array of Objects in C# In this article we'll learn how to declare an array of objects in C#. How-tos How to Play an Mp3 File in a Windows Form Application in C# This post will demonstrate how to build a simple C# mp3 player with the use of your C# Windows form application and a Windows Media Player. How-tos How to Format a String as a Telephone Number in C# This article explains how to format a string as a telephone number in C#. How-tos How to Convert String to Type in C# In this article discusses how to convert string to type or get the type of data in C#. How-tos How to Sum Up an Array of Integers in C# In this tutorial, learn the different methods of summing up an array of integers in C# with examples. Use the sum(), Array.foreach, and the Enumerable.Aggregate() method. How-tos How to Sorting List in Alphabetical Order in C# This article shows how to sort a list alphabetically in C#. How-tos How to Start a Process in C# In this article, we'll look at numerous ways to start a process in C#.

← All topics