Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class A {
- public B BProperty { get; set; }
- public C CProperty { get; set; }
- public class B {
- public int? Quantity { get; set;}
- }
- public class C {
- public int? QuantityInAnotherContext => BProperty?.Quantity;
- }
- }
Add Comment
Please, Sign In to add comment