6
Answers

Property then Method chaining syntax

S

S

11y
1.5k
1
Hello

Ive seen it in code a few times whereby a property member followed by a method is used...

The syntax is as below:-

property.Method();

or more specifically 

db.ShoppingCartItems.InsertOnSubmit();

I just wondered how and why this chaining works\exists?

Regards

Steven
Answers (6)