I created a class call Sales with a Amount get/set:

```
class Sales 
{

 public static string Amount { get; set; }

}

```

Then I called from other class, out of a function scope:

```
class Test
{

  Sales.Amount = "10";

  public static VoidSales() 
  {
   .....
  }

}

```

I get the following error:

```
'Fun.Sales.Amount' is a 'property' but is used like a 'type'

```

But When I use in a function, it is correct.

Thank you.