I can not understand one thing
here we set Screen and then currentScreen
Okay We need first word Screen for some purpose. The questions are:
Thank you!
Hi,
What you are doing here is declaring a variable. In C#, in this example, the first word is the type, e.g. the data type of the variable, in this case its of type Screen.
The following word is the name of the variable, in this case currentScreen.
This would be the same for a string for exmaple;
string message; message = "Hello World!";
Hope this helps.
Sure, Rob! Thank you!
No worries, you’re more than welcome.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.