Friday, May 20, 2022 19:46

Posts Tagged ‘C# keywords’

Return operator

Tuesday, April 18th, 2017

In few of our previous lessons, we used functions – methods that not only can be called, perform some action, but also return a value to the caller – the piece of code that called them. You can imagine this as placing the returned value in the place where the function was invoked from.… Read more

Var keyword

Thursday, December 29th, 2016

In the previous lessons, I’ve said that when declaring a variable, we are required to indicate the compiler the type of the variable and its name. These kind of variables are called explicitly typed variables:

However, this is not entirely true.… Read more

C# keywords

Monday, December 26th, 2016

C# programming language defines a few keywords that have a special meaning for the compiler. When you chose your variables, classes, methods names, you must be careful to avoid using these C# keywords, or you will get compiler errors, and your program will not compile.… Read more

Follow the white rabbit