Topics
Csharp
About this topic: Articles tagged __TAG__
Showing 446 articlesRelated tags
Topics
Articles
Showing 446 articles
How-tos
How to Convert IEnumerable to List in C#
In this tutorial, learn the different methods of converting IEnumerable to list in C#. Use the ToList(), ToArray(), and AsEnumerable() method.
↗
How-tos
Create Map and Reduce Functions in C#
This tutorial elaborates how to create and use map and reduce functions in C#.
↗
How-tos
Integer Division in C#
This tutorial discussed the methods to perform integer division in C#. There are 3 types of divisions in C#: the integer division, the floating point division, and the decimal …
↗
How-tos
How to Convert a Dictionary to JSON String in C#
This article teaches how to convert a Dictionary to a JSON string in C#.
↗
How-tos
How to Format a String With Fixed Spaces in C#
This tutorial explains how to format a string with fixed spaces or padding in C#.
↗
How-tos
How to Convert Double to Decimal in C#
This article will discuss converting a double to a decimal using the C# programming language.
↗
How-tos
How to Get the Current Username in .NET Using C#
In this article, you will learn how to get the currently logged-in user's name in .NET using the C# programming language.
↗
How-tos
How to Get the Unix Timestamp in C#
This how-to article shows different methods to get the unix timestamp in C#. It introduces methods like DateTime.Now.Subtract().TotalSeconds, DateTimeOffset.Now.ToUnixTimeSeconds() …
↗
How-tos
HashMap in C#
This article introduces hashmap equivalent in C#. It includes Dictionary collection.
↗
How-tos
How to Calculate the Difference Between Two Dates in C#
Calculate difference between two dates (number of days) in C#
↗
How-tos
How to Get Int Value From Enum in C#
This tutorial demonstrates how to get int value from enum type in C# in several methods with thorough description and examples.
↗
How-tos
How to Enumerate an Enum in C#
This tutorial introduces how to enumerate an enum value in C# using different types of methods.
↗
How-tos
How to Round a Double Value to an Integer Value in C#
There are three main methods that can be used to round up a double value to an integer value in C#, the Math.Ceiling(), the Math.Floor(), and the Math.Round() functions.
↗
How-tos
How to Get Dictionary Value by Key in C#
There are 2 main methods that can be used to get dictionary value with the key in C#, the [] method, and the TryGetValue() function.
↗
How-tos
How to Get ASCII Value of Character in C#
We will explore the 2 main methods that can get the ASCII values of all the characters in a string in C#, the typecasting method and the byte[] method.
↗
How-tos
How to Add a Tab to a String in C#
The escape character can be used to add a tab inside a string variable in C#.
↗
How-tos
How to Properly Exit an Application in C#
There are 2 main methods that can be used to exit an application in C#, the Environment.Exit() function, and the Application.Exit() function.
↗
How-tos
How to Convert Stream to Byte Array in C#
This article will discuss five different methods to convert streams into byte arrays in C#.
↗
How-tos
How to Check if List Is Empty in C#
We'll discuss three methods that can be utilized to check if a list is empty or not in C#: the List.Count method, the List.Any() function and the is null check.
↗
How-tos
How to Escape Double Quotes in C#
There are various methods that can be used to escape double quotes in C#.
↗
How-tos
How to Convert Integer to Binary in C#
There many ways to convert an integer to binary in C# and we will discuss all of them in this article.
↗
How-tos
How to Get Dictionary Key by Value in C#
This article explores various methods that can be used to get a dictionary key based on its corresponding value in C#.
↗
How-tos
How to MySql Connection in C#
We can connect to a MySql data base with the MySql.Data package in C#.
↗
How-tos
How to Compare Two Strings by Ignoring Case in C#
There are several methods that can be used to perform case-insensitive string comparison in C#, the String.ToUpper(), String.ToLower(), String.Equals(), and String.Compare().
↗
No articles found
Try clearing the filters.