Created
October 11, 2012 20:20
-
-
Save samneirinck/3875223 to your computer and use it in GitHub Desktop.
This file contains 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 ComplexClass | |
{ | |
private readonly float _sampleValue; | |
public float SampleValue | |
{ | |
get { return _sampleValue; } | |
} | |
protected int A { get; set; } | |
public SerializableClass SerializableProperty { get; set; } | |
public bool IsFunny | |
{ | |
get { return false; } | |
} | |
internal CircularClass _circularClass; | |
public ComplexClass() | |
: this(200) | |
{ | |
} | |
public ComplexClass(float value) | |
{ | |
_sampleValue = value; | |
} | |
} | |
public class CircularClass | |
{ | |
private ComplexClass _complexClass; | |
public CircularClass(ComplexClass c) | |
{ | |
_complexClass = c; | |
} | |
} | |
[Serializable] | |
public class SerializableClass | |
{ | |
public int A { get; set; } | |
public string B { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment