tag:blogger.com,1999:blog-5515180953779758242.post3970987547430212045..comments2014-11-13T05:17:07.430-08:00Comments on Sourav Maitra: Difference between "out" and "ref" parameter modifier?souravmaitrahttp://www.blogger.com/profile/02165998692091977378noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5515180953779758242.post-41169788956047331942012-08-14T20:07:56.026-07:002012-08-14T20:07:56.026-07:00Thanks PavanaryaThanks Pavanaryasouravmaitrahttps://www.blogger.com/profile/02165998692091977378noreply@blogger.comtag:blogger.com,1999:blog-5515180953779758242.post-47141160687757680952012-08-14T20:06:30.530-07:002012-08-14T20:06:30.530-07:00See my previous post. That is here: http://souravm...See my previous post. That is here: http://souravmaitra.blogspot.in/2012/08/method-parameters-in-c.html. Hope that will fulfill your requirement souravmaitrahttps://www.blogger.com/profile/02165998692091977378noreply@blogger.comtag:blogger.com,1999:blog-5515180953779758242.post-61059108749372244262012-08-14T19:20:24.984-07:002012-08-14T19:20:24.984-07:00Yes sir, as i understand I would like to add somet...Yes sir, as i understand I would like to add something Hope you ll like it.<br /><br />First thing : In any any method declaration, we have some parameter definition, in that we have some input parameters and some return value. But as we know that "return" return only one value at a time. If you want to get more than one value from the method then what to do? Yeah we have many ways of returning a value. But here microsoft has given output parameter with the use of "out" keyword. as many as u want to return a value it can be defined in method declaration. rest as u said already.<br /><br />Second thing: "ref", use of this keyword is depending on the concept of call by value and call by reference of method calling with parameter. whenever, you need to paas the reference of a variable in method as argument for that you need to define reference kind of parameter with the use ref keyword.<br /><br />Sir : If you give just a simple example explaining these, it would be better. after a long time i am writing to you.Rest I hope you are fine,doing well.<br /><br />ThanksDhananjayhttps://www.blogger.com/profile/07139595406448971666noreply@blogger.comtag:blogger.com,1999:blog-5515180953779758242.post-48473136715491391272012-08-14T17:09:41.574-07:002012-08-14T17:09:41.574-07:00Really Nice one sir...Really Nice one sir...Anonymousnoreply@blogger.com