Skip to content

Instantly share code, notes, and snippets.

@samneirinck
Created October 11, 2012 20:20
Show Gist options
  • Save samneirinck/3875223 to your computer and use it in GitHub Desktop.
Save samneirinck/3875223 to your computer and use it in GitHub Desktop.
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