The C# Tuple class

The C# Tuple class

A tuple, introduced in .Net version 4.1, can be defined as a data structure having a specific number and sequence of elements. Learn more by visiting the tutorial.

Demos and Full Guide
How to convert a string to int in C#?

How to convert a string to int in C#?

Commonly, this is required if you are taking the user input for numbers and this may be taken as “text” or string. So, you have to make sure before performing any actions based on that data to convert that string into int, float ot other numeric data types.

Demos and Full Guide
What is foreach loop in C#?

What is foreach loop in C#?

The C# foreach statement is used to iterate through the elements of collections, arrays etc. You may execute single statement or a block of statements for each element as using the foreach statement.

Demos and Full Guide