This article is currently in the process of being translated into Oromo (~22% done).
Data types
Gosa Dataa Gosni Dataa jedhamu Afaanota programaa keessati kan fayyadamu bakka hundumati akkauma C#. Sababin isaas gosa cimaa afaanota progamaa kan baayy'ee barbaachisu akka ittin garee gosoota qubeewwan ykn jechoota kan kan biraa bakka bu'aani akka yeroo bakka bu'aan hundumaati itti fayyadamanif kan labsamani dha, akkuma boqoonnaa itti aanu keessati argannuti. Boqoonnaa kana keessati kan ilaalluu gosoota Dataa kan yeroo baayy'ee itti fayyadamnu fi akka isaan itti hojjetanii dhaa.
bool is one of the simplest data types. It can contain only 2 values - false or true. The bool type is important to understand when using logical operators like the if statement.
int is short for integer, a data type for storing numbers without decimals. When working with numbers, int is the most commonly used data type. Integers have several data types within C#, depending on the size of the number they are supposed to store.
string is used for storing text, that is, a number of chars. In C#, strings are immutable, which means that strings are never changed after they have been created. When using methods which changes a string, the actual string is not changed - a new string is returned instead.
char is used for storing a single character.
float is one of the data types used to store numbers which can contain decimals.
Summary
These are just the most basic data types in C# and I only told you the very basic stuff about them, because it's a pretty dry subject and you may want to see some data types in action before you read more about them. So, move on to the next article, where we'll be using variables to contain data of various types!
Later in this tutorial, we'll go much more in depth with all the various data types found in the .NET framework.