Click here to Skip to main content
15,920,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: Copy Constructor Pin
Johnny Zee25-Jul-02 2:27
sussJohnny Zee25-Jul-02 2:27 
GeneralRe: Copy Constructor Pin
albean28-Jul-02 14:22
albean28-Jul-02 14:22 
GeneralRe: Copy Constructor Pin
James T. Johnson28-Jul-02 16:01
James T. Johnson28-Jul-02 16:01 
GeneralConfigurationSettings Pin
Steve Severance24-Jul-02 13:12
Steve Severance24-Jul-02 13:12 
GeneralRe: ConfigurationSettings Pin
James T. Johnson24-Jul-02 16:18
James T. Johnson24-Jul-02 16:18 
GeneralRe: ConfigurationSettings Pin
jparsons25-Jul-02 2:45
jparsons25-Jul-02 2:45 
GeneralRe: ConfigurationSettings Pin
James T. Johnson25-Jul-02 2:50
James T. Johnson25-Jul-02 2:50 
GeneralNamespace Hell Pin
stephen woolhead24-Jul-02 13:12
stephen woolhead24-Jul-02 13:12 
I have a c# project that is causing me problems at the moment.

I have a file that looks like this

------------

using System ;

namespace MyNameSpace.System
{
public class Test
{
public Test ()
{
System.Diagnostics.Trace.Writeline ("Hello World!") ;
}
}
}

------------

the problem is that when I compile this it VS complains that the namespace Diagnostics does not exist in MyNameSpace.System

Also when I type System. the intelisense gives me a choice of 'Test' only i.e. my clases in the MyNameSpace.System namespace.

if I change the line to
Diagnostics.Trace.Writeline ("Hello World!")
dropping the System it all compiles.

Is this normal namespace behaviour? If not (hope not as this sucks) anyone got any idea on how to fix it?

Thanks

Stephen.
GeneralRe: Namespace Hell Pin
James T. Johnson24-Jul-02 16:08
James T. Johnson24-Jul-02 16:08 
GeneralRe: Namespace Hell Pin
stephen woolhead24-Jul-02 22:13
stephen woolhead24-Jul-02 22:13 
GeneralRe: Namespace Hell Pin
James T. Johnson25-Jul-02 0:16
James T. Johnson25-Jul-02 0:16 
GeneralRe: Namespace Hell Pin
jparsons25-Jul-02 2:49
jparsons25-Jul-02 2:49 
GeneralProblems with ListView and columns Pin
Luis Alonso Ramos24-Jul-02 9:53
Luis Alonso Ramos24-Jul-02 9:53 
GeneralRe: Problems with ListView and columns Pin
leppie24-Jul-02 20:44
leppie24-Jul-02 20:44 
GeneralRe: Problems with ListView and columns Pin
Luis Alonso Ramos24-Jul-02 21:01
Luis Alonso Ramos24-Jul-02 21:01 
GeneralRe: Problems with ListView and columns Pin
leppie25-Jul-02 3:28
leppie25-Jul-02 3:28 
GeneralRe: Problems with ListView and columns Pin
Luis Alonso Ramos25-Jul-02 6:49
Luis Alonso Ramos25-Jul-02 6:49 
GeneralRe: Problems with ListView and columns Pin
leppie25-Jul-02 7:29
leppie25-Jul-02 7:29 
GeneralRe: Problems with ListView and columns Pin
Luis Alonso Ramos25-Jul-02 11:04
Luis Alonso Ramos25-Jul-02 11:04 
GeneralRe: Problems with ListView and columns (finally fixed) Pin
Luis Alonso Ramos12-Aug-02 19:36
Luis Alonso Ramos12-Aug-02 19:36 
Generalnotify if tab-key is pressed Pin
Anonymous24-Jul-02 6:19
Anonymous24-Jul-02 6:19 
GeneralRe: notify if tab-key is pressed Pin
Luis Alonso Ramos24-Jul-02 6:32
Luis Alonso Ramos24-Jul-02 6:32 
GeneralRe: notify if tab-key is pressed Pin
Anonymous24-Jul-02 11:11
Anonymous24-Jul-02 11:11 
GeneralRe: notify if tab-key is pressed Pin
Luis Alonso Ramos24-Jul-02 11:41
Luis Alonso Ramos24-Jul-02 11:41 
QuestionHighlighting in RichTextBox? Pin
leppie24-Jul-02 3:58
leppie24-Jul-02 3:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.