C# QueryCondition example

Added C# for the QueryCondition example.