Hi, Eeveryone . I don't know what's wrong in my code. But i copy it from the professional C# 2008, page 33. attach my code.
Help me!!!
Code:
using System;
namespace Wrox.ProCSharp.Basics
{
class ScopeTest
{
static int j = 20;
Console.WriteLine(j);
public static void Main()
{
int j = 30;
Console.WriteLine(j);
Console.WriteLine(ScopeTest.j);
return;
}
}
}