Click here to Skip to main content
15,879,535 members
Home / Discussions / C#
   

C#

 
GeneralRe: Why don't use C#6 code for ASP.Net MVC application? Pin
Richard Deeming28-Jun-16 4:01
mveRichard Deeming28-Jun-16 4:01 
GeneralRe: Why don't use C#6 code for ASP.Net MVC application? Pin
BillWoodruff29-Jun-16 8:43
professionalBillWoodruff29-Jun-16 8:43 
QuestionEWS Managed API : "The SMTP address has no mailbox associated with it." Pin
Kuthuparakkal28-Jun-16 2:16
Kuthuparakkal28-Jun-16 2:16 
AnswerRe: EWS Managed API : "The SMTP address has no mailbox associated with it." Pin
OriginalGriff28-Jun-16 2:25
mveOriginalGriff28-Jun-16 2:25 
QuestionFloating window implementation using c# Pin
srikrishnathanthri27-Jun-16 19:49
srikrishnathanthri27-Jun-16 19:49 
QuestionNeed Help with Assignment board logic. Pin
Aspylacide27-Jun-16 15:38
Aspylacide27-Jun-16 15:38 
AnswerRe: Need Help with Assignment board logic. Pin
Gerry Schmitz27-Jun-16 19:52
mveGerry Schmitz27-Jun-16 19:52 
AnswerRe: Need Help with Assignment board logic. Pin
Nathan Minier28-Jun-16 1:49
professionalNathan Minier28-Jun-16 1:49 
Just to expound on what Gerry said, what you're talking about is a property relationship rather than a polymorphic one. You'll likely find you're best served by using a mapping class like so:
C#
public class Person
{
   public string Name { get; protected set; }
   ...
}

public class Role
{
   string Title { get; protected set; }
   ...
}

public class RoleAssignment
{
   public Person Person { get; protected set; }
   public Role Role { get; protected set; }
}

public class Environment
{
  public IEnumerable<RoleAssignment> Roles{ get; protected set; }
  ...
}
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli

AnswerRe: Need Help with Assignment board logic. Pin
BillWoodruff28-Jun-16 4:39
professionalBillWoodruff28-Jun-16 4:39 
GeneralRe: Need Help with Assignment board logic. Pin
Aspylacide28-Jun-16 13:34
Aspylacide28-Jun-16 13:34 
AnswerRe: Need Help with Assignment board logic. Pin
Aspylacide28-Jun-16 14:02
Aspylacide28-Jun-16 14:02 
SuggestionRe: Need Help with Assignment board logic. Pin
Aspylacide29-Jun-16 12:25
Aspylacide29-Jun-16 12:25 
Questionc# project Pin
Member 1260671027-Jun-16 11:21
Member 1260671027-Jun-16 11:21 
AnswerRe: c# project Pin
OriginalGriff27-Jun-16 19:44
mveOriginalGriff27-Jun-16 19:44 
QuestionCreate update for your program in C# Pin
Bilal PC27-Jun-16 9:32
Bilal PC27-Jun-16 9:32 
AnswerRe: Create update for your program in C# Pin
Dave Kreskowiak27-Jun-16 10:00
mveDave Kreskowiak27-Jun-16 10:00 
GeneralThis question is removed Pin
lokeshnj27-Jun-16 4:32
lokeshnj27-Jun-16 4:32 
AnswerRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Eddy Vluggen27-Jun-16 7:29
professionalEddy Vluggen27-Jun-16 7:29 
GeneralRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Jim_Snyder30-Jun-16 4:18
professionalJim_Snyder30-Jun-16 4:18 
GeneralRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Eddy Vluggen30-Jun-16 4:21
professionalEddy Vluggen30-Jun-16 4:21 
GeneralRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Jim_Snyder30-Jun-16 4:27
professionalJim_Snyder30-Jun-16 4:27 
GeneralRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Eddy Vluggen30-Jun-16 7:58
professionalEddy Vluggen30-Jun-16 7:58 
GeneralRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Jim_Snyder1-Jul-16 3:13
professionalJim_Snyder1-Jul-16 3:13 
GeneralRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Jim_Snyder30-Jun-16 4:33
professionalJim_Snyder30-Jun-16 4:33 
Questionhow to fire up the message receive handler on runtime? Pin
Member 1255232425-Jun-16 23:46
Member 1255232425-Jun-16 23:46 

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.