Click here to Skip to main content
14,634,997 members
Home » Discussions » C#
   

C#

 
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 
GeneralRe: Multiple Classes, same name Pin
Dave Kreskowiak16-Jun-20 3:22
mveDave Kreskowiak16-Jun-20 3:22 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 3:26
MemberWiep Corbier16-Jun-20 3:26 
GeneralRe: Multiple Classes, same name Pin
Dave Kreskowiak16-Jun-20 3:42
mveDave Kreskowiak16-Jun-20 3:42 
Why is asking questions a skill? Because you have to think about your question before you ask it. Think about the context your question falls in.

All you said was "I want this, and it's up to the experts to solve it". Well, the experts just told you your idea isn't workable at all and you just stomped off.

But, actually, the idea is kind of workable, but it would involve converting C# to an interpreted language instead of compiled. It would also involve rewriting the type resolver to examine the code ahead to attempt to find the "best fit" at runtime based on insufficient information. This wouldn't even work in all cases as there isn't enough information at runtime to even "new up" an instance you haven't used yet.

This would also have the effect of destroying the performance of the language because of all of the overhead of trying to guess at which type you were talking about!

GeneralRe: Multiple Classes, same name Pin
ZurdoDev16-Jun-20 4:00
mveZurdoDev16-Jun-20 4:00 
AnswerRe: Multiple Classes, same name Pin
Pete O'Hanlon16-Jun-20 1:45
subeditorPete O'Hanlon16-Jun-20 1:45 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 1:58
MemberWiep Corbier16-Jun-20 1:58 
GeneralRe: Multiple Classes, same name Pin
OriginalGriff16-Jun-20 2:28
mveOriginalGriff16-Jun-20 2:28 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 2:33
MemberWiep Corbier16-Jun-20 2:33 
GeneralRe: Multiple Classes, same name Pin
OriginalGriff16-Jun-20 2:45
mveOriginalGriff16-Jun-20 2:45 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 3:10
MemberWiep Corbier16-Jun-20 3:10 
GeneralRe: Multiple Classes, same name Pin
Dave Kreskowiak16-Jun-20 3:32
mveDave Kreskowiak16-Jun-20 3:32 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 3:54
MemberWiep Corbier16-Jun-20 3:54 
AnswerRe: Multiple Classes, same name Pin
ZurdoDev16-Jun-20 4:04
mveZurdoDev16-Jun-20 4:04 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 4:21
MemberWiep Corbier16-Jun-20 4:21 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 9:32
MemberWiep Corbier16-Jun-20 9:32 
GeneralRe: Multiple Classes, same name Pin
OriginalGriff16-Jun-20 4:27
mveOriginalGriff16-Jun-20 4:27 
GeneralRe: Multiple Classes, same name Pin
Member 798912216-Jun-20 4:28
MemberMember 798912216-Jun-20 4:28 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 4:32
MemberWiep Corbier16-Jun-20 4:32 
GeneralRe: Multiple Classes, same name Pin
Member 798912216-Jun-20 5:52
MemberMember 798912216-Jun-20 5:52 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 6:04
MemberWiep Corbier16-Jun-20 6:04 

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.