Dive into C#, Web, Cloud, Network and Security

month February 2022

C# Convert string to int

In this article, we will quickly show 3 different ways to convert a string containing a numeric value to a 32-bit signed integer (Int32).

Floating-point numbers in C#

There are 3 built-in types that you can use to represent floating-point numbers: float, double and decimal. In this article, we will look at the specifics of each of these types.

Comparison of C# Equals vs ==

There are many ways to compare objects in C#. In this article, we will talk about the most common ones: the equality operator == and the Equals method.

C# Struct vs Class

There are 2 main categories of types in C#: value types and reference types. Structures and classes represent the main types of these 2 categories. In this article, we will look at the differences between a structure and class.

© 2024 Siaka Baro

Up ↑