Re: Question about Namespaces
- From: "cmay" <cmay@xxxxxxxxxxxxxx>
- Date: 9 Jul 2005 14:58:02 -0700
Jon,
I was actually writing this app in VB.net. When I went to code up an
example in C# it worked just fine.
I figured the C# newsgroups would be better to post to about namespaces
than the VB ones, but maybe this is something have VB just can't do,
and C# can.
What I mean is this code does NOT work in VB.NET. It will not compile
b/c it can't find the "RotatorDesigner" class.
Is this a known thing that VB.Net can't do?
using System;
using ComponentArt.Web.UI.Design;
namespace ClassLibrary1
{
public class Class1
{
ComponentArt.Web.UI.Design.RotatorDesigner X;
ComponentArt.Web.UI.Design.MyTestClass Y;
public Class1()
{
}
}
}
namespace ComponentArt.Web.UI.Design
{
public class MyTestClass
{
public MyTestClass()
{
}
}
}
>>It is, as far as I'm aware.
Could you post a short but complete program which demonstrates the
problem?
.
- Follow-Ups:
- Re: Question about Namespaces
- From: Jon Skeet [C# MVP]
- Re: Question about Namespaces
- References:
- Question about Namespaces
- From: cmay
- Re: Question about Namespaces
- From: Jon Skeet [C# MVP]
- Question about Namespaces
- Prev by Date: Re: Quickest way to find the string in 1 dimensional string array!
- Next by Date: UPDATE SQL statement error
- Previous by thread: Re: Question about Namespaces
- Next by thread: Re: Question about Namespaces
- Index(es):
Relevant Pages
|