What is "out" parameter how it is used in methods?

Answer Posted / somnath nanekar

if we want something from that method/procedure to return
then use out parameter
1st we call that method with out parameter. then give some
value to that out parameter in procedure and then use that
value...
so to get the required value we use out parameter

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are scaffold templates in mvc?

752


What is the difference between entity framework and mvc?

737


What are Code Blocks in Views?

845


What is needed for running an application built on winfx on the .net framework 3.0?

697


Explain Sections is ASP.Net MVC?

791


What is filters in web api?

701


What is entity client data provider? : Entity framework

750


How large is the .net framework 3.0? Does this change make the release larger?

760


What is edm designer? : Entity framework

747


What is mvc entity framework?

713


why DotNetFramework is included in building a software

2429


What is the 'page life cycle' of an ASP.NET MVC?

810


What is NonActionAttribute ?

794


What is the greatest advantage of using asp.net mvc over asp.net webforms?

735


How to answer for project questions..?

2418