Topics
Csharp
About this topic: Articles tagged __TAG__
Showing 446 articlesRelated tags
Topics
Articles
Showing 446 articles
How-tos
How to Implement OCR in a C# Project
Learn how to add Tesseract or IronOCR to a C# project and recognize text in an image.
↗
How-tos
How to Make a Delay Timer in C#
This article introduces how to make a delay timer in C#. It includes four different methods: Thread.Sleep(), Task.Delay(), System.Timers.Timer, and System.Threading.Timer.
↗
How-tos
How to Convert a JSON String to a JObject in C#
Parse JSON text into a JObject in C# with Newtonsoft.Json, read nested values, handle parsing errors, and serialize changes.
↗
How-tos
How to Add List to Another List in C#
Learn how to add one list to another in C#
↗
How-tos
How to Convert Values to Int in C# with Cast, Parse, or Convert
Choose a C# integer conversion based on whether your input is numeric, integer text, or another supported value.
↗
How-tos
How to Obfuscate Your Code in C#
Learn how C# obfuscation transforms managed assemblies, what common techniques do, and how to evaluate their limits.
↗
How-tos
How to Initialize a Byte Array in C#
Learn how to create a byte array of a specific length in C#, set its values, and copy raw bytes.
↗
How-tos
How to Convert Int to Enum in C#
Learn how to convert an integer to a C# enum with a cast or parsing, and check whether the result is a declared member.
↗
How-tos
How to Exit a Foreach Loop in C#
Stop a C# foreach loop with break, or leave its containing method with return.
↗
How-tos
How to Convert Float to Int in C#
Convert a C# float to int with a direct cast, Math.Ceiling(), Math.Floor(), or Math.Round(), depending on the rounding behavior you need.
↗
How-tos
How to Read Integer From Console in C#
This article explores various methods for reading integer values from the console in C#, providing insights into when and how to use each approach.
↗
How-tos
How to Export Data to an Excel File Using C#
Compare ways to prepare C# object collections, arrays, DataTables, and JSON records for an Excel workbook.
↗
How-tos
Convert decimal to int in C#
Choose truncation, nearest rounding, or directed rounding when converting a decimal to an int in C#, and handle values outside the Int32 range.
↗
How-tos
How to Read Barcode in C#
This article briefly discusses reading Barcode from an image using C#.
↗
How-tos
typedef Equivalent in C#
Learn the C# equivalent of typedef with using aliases, including C# 12 tuple aliases and ordinary aliases for generic types.
↗
How-tos
How to Initialize a Dictionary in C#
Learn how to initialize a dictionary in C
↗
How-tos
Partial Class in C#
Discover the concept of partial classes in C
↗
How-tos
How to Reverse a String in C#
Learn how to reverse a string in C
↗
How-tos
How to Call Constructor of Base Class From the Constructor of Child Class in C#
Learn how to effectively call the constructor of a base class from the constructor of a child class in C
↗
How-tos
How to Sort Dictionary by Value in C#
Learn how to sort a dictionary by value in C
↗
How-tos
How to Get Screen Size in C#
Learn how to get screen size in C
↗
How-tos
How to Check if a String Is Null or Empty in C#
Learn how to check if a string is null or empty in C
↗
How-tos
C# Equals() vs ==
Explore the differences between C
↗
How-tos
C# Error: Inaccessible Due to Its Protection Level
In this guide, learn about the C
↗
No articles found
Try clearing the filters.