
Hi Rajan,
As per my knowledge i try to give you answer.:
MethodImpl is used to synchronized method where method is shared among threads., MethodImpl is attribute class,
Where as Monitor works at thread level, it synchronized resources for thread.
in sort Monitor class has methods line Enter(), Exit which internally uses MethodImpl attribute class.
Hope this answer will help you.
Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/
Selvarajan, if this helps please login to Mark As Answer. | Alert Moderator