You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will give us an error: CS0103 - The name 'WriteLine' does not exist in the current context, we need to import the System.Console in order to use the method WriteLine directly
using static System.Console;
The text was updated successfully, but these errors were encountered:
In Chapter 2, on page 87, I say, "Remember to statically import the System.Console type in all future projects to simplify your code, as these instructions will not be repeated every time."
In the step 3 (In Program.cs, type statements to declare and assign values, including null, to int variables, as shown in the following code)
This will give us an error: CS0103 - The name 'WriteLine' does not exist in the current context, we need to import the System.Console in order to use the method WriteLine directly
using static System.Console;
The text was updated successfully, but these errors were encountered: