What is the difference between procedures and functions in
C3#.NET

Answer Posted / prabhu

In VB.Net Functions and Procedures are set of statements,
only difference is function has to return a value and
procedure doesn't.

In C# No More Functions only methods which may or may not
Return a value with return type in declaration.

Public [int/string/boolean] MyMethod()
{
//Code
}

Is This Answer Correct ?    7 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

wt r the tools of remote function which is the best one

1616


What is XT (eXtended Technology)

1609


What is DDR (Double Data Rate)

1560


How do I stop microsoft teams from running at startup?

505


What are microsoft products?

582






Why do we need xaml as a new way to create applications in .net framework 3.0 (formerly winfx)? : xaml

558


When do you use Microsoft Word, Microsoft zexcel and Microsoft PowerPoint?

2093


What is the difference between microsoft edge and internet explorer?

540


What is the functionallity difference between radio/option buttons and a drop-down list box besides appearence? i.e. When it is better to use one instead of the other?

1585


What is architecture explorer in visual studio?

683


What are the microsoft apps?

546


Why is xaml important for the delivery of e-commerce solutions? : xaml

575


Explain how many data types are supported in vbscript?

558


Do you know about dll hell? Explain it?

566


What is UltraDMA / UltraATA ?

1526