Welcome to Shaun Luttin's public notebook. It contains rough, practical notes. The guiding idea is that, despite what marketing tells us, there are no experts at anything. Sharing our half-baked ideas helps everyone. We're all just muddling thru. Find out more about our work at bigfont.ca.

Contents tagged with types

  • Value types can have methods!

    Tags: c#, types

    void Main() { var one = new ValueType(); var two = one; // two's value is now a copy of one's value // and both are **actual values** var three = new ReferenceType(); var … more