Guest User

Guest User

  • Tech Writer
  • 357
  • 121.5k

Property then Method chaining syntax

Feb 5 2013 2:03 PM
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)