Click here to Skip to main content
14,666,245 members
Home » Discussions » C#
   

C#

 
GeneralRe: Multiple Classes, same name Pin
Richard Deeming15-Jun-20 23:47
mveRichard Deeming15-Jun-20 23:47 
GeneralRe: Multiple Classes, same name Pin
Member 798912216-Jun-20 0:05
MemberMember 798912216-Jun-20 0:05 
GeneralRe: Multiple Classes, same name Pin
Richard Deeming16-Jun-20 0:31
mveRichard Deeming16-Jun-20 0:31 
GeneralRe: Multiple Classes, same name Pin
Member 798912216-Jun-20 0:44
MemberMember 798912216-Jun-20 0:44 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 0:20
MemberWiep Corbier16-Jun-20 0:20 
GeneralRe: Multiple Classes, same name Pin
Richard Deeming16-Jun-20 0:28
mveRichard Deeming16-Jun-20 0:28 
AnswerRe: Multiple Classes, same name Pin
ZurdoDev16-Jun-20 2:16
mveZurdoDev16-Jun-20 2:16 
GeneralRe: Multiple Classes, same name Pin
ZurdoDev16-Jun-20 2:18
mveZurdoDev16-Jun-20 2:18 
Richard Deeming wrote:
There has to be some way to disambiguate the two people.
I think the OP is asking for the computer to do that. In other words I write

SomeClass temp = new SomeClass();

and up pops some intellisense so that I can pick SomeClass from file1 or SomeClass from file2. Internally, C# would clearly have to track which one it is. Which makes this idea even worse because if you come back the next day to read your code you won't know which one it actually refers to.

It could be done, and probably not too hard with some sort of internal tracker in VS but a terrible idea regardless. Big Grin | :-D
Social Media - A platform that makes it easier for the crazies to find each other.

Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.

GeneralRe: Multiple Classes, same name Pin
Dave Kreskowiak16-Jun-20 3:16
mveDave Kreskowiak16-Jun-20 3:16 
GeneralRe: Multiple Classes, same name Pin
Nelek22-Jun-20 5:53
protectorNelek22-Jun-20 5:53 
AnswerRe: Multiple Classes, same name Pin
OriginalGriff15-Jun-20 22:32
mveOriginalGriff15-Jun-20 22:32 
AnswerRe: Multiple Classes, same name Pin
Richard MacCutchan16-Jun-20 0:27
mveRichard MacCutchan16-Jun-20 0:27 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 0:36
MemberWiep Corbier16-Jun-20 0:36 
GeneralRe: Multiple Classes, same name Pin
Richard MacCutchan16-Jun-20 0:52
mveRichard MacCutchan16-Jun-20 0:52 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 0:55
MemberWiep Corbier16-Jun-20 0:55 
GeneralRe: Multiple Classes, same name Pin
Richard MacCutchan16-Jun-20 1:05
mveRichard MacCutchan16-Jun-20 1:05 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 1:17
MemberWiep Corbier16-Jun-20 1:17 
GeneralRe: Multiple Classes, same name Pin
Richard MacCutchan16-Jun-20 1:37
mveRichard MacCutchan16-Jun-20 1:37 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 1:50
MemberWiep Corbier16-Jun-20 1:50 
GeneralRe: Multiple Classes, same name Pin
OriginalGriff16-Jun-20 1:58
mveOriginalGriff16-Jun-20 1:58 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 2:10
MemberWiep Corbier16-Jun-20 2:10 
GeneralRe: Multiple Classes, same name Pin
Richard MacCutchan16-Jun-20 2:18
mveRichard MacCutchan16-Jun-20 2:18 
GeneralRe: Multiple Classes, same name Pin
Member 798912216-Jun-20 3:13
MemberMember 798912216-Jun-20 3:13 
GeneralRe: Multiple Classes, same name Pin
Richard MacCutchan16-Jun-20 3:50
mveRichard MacCutchan16-Jun-20 3:50 
GeneralRe: Multiple Classes, same name Pin
Nelek22-Jun-20 5:58
protectorNelek22-Jun-20 5: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.