Last active
August 29, 2015 14:06
-
-
Save ThomasArdal/17242356266292cb600b to your computer and use it in GitHub Desktop.
Decompiled Movie class with default constructor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Movie | |
{ | |
private readonly string <Title>k__BackingField | |
private readonly List<string> <Genres>k__BackingField; | |
public string Title | |
{ | |
get { return this.<Title>k__BackingField; } | |
} | |
public List<string> Genres | |
{ | |
get { return this.<Genres>k__BackingField; } | |
} | |
public Movie(string title, List<string> genres) | |
{ | |
this.<Title>k__BackingField = title; | |
this.<Genres>k__BackingField = genres; | |
base..ctor(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment