S
Steve
This is a very strange bug (I think it's a bug)
I have a class:
Test.MyNamespace
public class MyClass
public static int GetNumber();
Then in another class I have added the using statement like this:
using Test.MyNamespace;
Then later I use the above class
int i = MyClass.GetNumber();
This give a "The type or namspace name 'GetNumber' does not exist in the
namespace 'MyClass'...."
Here is the weird part. If I call it like this:
int i = Test.MyNamespace.MyClass.GetNumber();
It works fine. Gremlins.
Anyone seen this? I have tried rebuilding, restarting and rebooting. Makes
no difference.
I have a class:
Test.MyNamespace
public class MyClass
public static int GetNumber();
Then in another class I have added the using statement like this:
using Test.MyNamespace;
Then later I use the above class
int i = MyClass.GetNumber();
This give a "The type or namspace name 'GetNumber' does not exist in the
namespace 'MyClass'...."
Here is the weird part. If I call it like this:
int i = Test.MyNamespace.MyClass.GetNumber();
It works fine. Gremlins.
Anyone seen this? I have tried rebuilding, restarting and rebooting. Makes
no difference.