2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
[mcs.git] / errors / cs0120-4.cs
blobb60b57bd9e511334fc1a989bfa0ef2756ef4ba9a
1 // cs0120-4.cs: `Y': An object reference is required for the nonstatic field, method or property
2 // Line: 11
4 using System;
6 class X {
7 // Public properties and variables.
8 public string Y;
10 // Constructors.
11 public X()
15 // Public static methods.
16 public static void Main(string[] Arguments)
18 X.Y = "";