I would highly appreciated if you could provide a sample working code.
MSAA sample code