Click here to Skip to main content
14,606,048 members
   

C#

 
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 
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 
Hi Pete,

All these problems are already solved by me.

Again. I store Skills as a string in the database.

They are stored like this: Skill 1|Skill 2|Skill 3|Skill 4
of course the data is different but I show you the idea

Then, customers (being developers) asked me if i couldn't provide a class with data stored in Skills as a list

A list Skills has "items"

public class Skill
{
    public string Item { get; set; }
}


It doesn't matter if there is data in it, I handle that.

So, I said to my customers I could do what the want but they need to address another Class:
CandidateFunctionWithSkillsList


No problem. But it made me think: what if my customers could make a choise how to recieve the data using the same name for the claas but had the option how it was presented/formatted.

It is just something I would like.
So I went on searching and discovered there were alternatives. But not exactly what I want.

It doesn't exist. So, my question to the C# team is: can you make it happen in a next release.
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 
GeneralRe: Multiple Classes, same name Pin
OriginalGriff16-Jun-20 4:28
mveOriginalGriff16-Jun-20 4:28 
GeneralRe: Multiple Classes, same name Pin
Pete O'Hanlon16-Jun-20 3:32
subeditorPete O'Hanlon16-Jun-20 3:32 
GeneralRe: Multiple Classes, same name Pin
Member 798912216-Jun-20 4:19
MemberMember 798912216-Jun-20 4:19 

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.