Latest news and articles about DDD, CQRS, Event Sourcing and Software Architecture in general, aggregated daily and delivered weekly to your feed (RSS) reader. Subscribe here!

Week 44, year 2015

  • Why C# Private Variables are Not as Private as you Thought - C# private fields are not accessible outside the class. It’s C# 101 right? Which means this code should not work… public class Example { private string _someValue; public void DoSomething(Example otherObject) { _someValue = otherObject._someValue; // What!? You can't access a private variable from another object! Can you? } } But surprisingly…it does. As it […] [Learn CQRS and Event Sourcing]
Permalink | From 26 October 2015 to 01 November 2015 | Last updated on: Mon, 7 Jun 2021 09:09:40 GMT