Nurbs Example

Hey Guys,
I am new to this concept of NURBS.Could someone point to some code which gives me a sort of two distinct closed NURBS surfaces.I mean something which could demonstrate that two distinct surfaces could be stitched together with NURBS.

Thanks,
Murali