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

What is the name attribute of the element?

1625


Where can I find my microsoft product key?

703


Do you know about dll hell? Explain it?

712


What is SCSI (Small Computer System Interface)?

1697


Can any one tell me briefly about macros?what it means and what it does?

2021


How to generate sequence diagrams in visual studio?

720


What is Xeon Processor Technology?

2146


How does xaml relate to e-speak? : xaml

743


What the difference between the SoapUi utility and the VS2008 test functionality used for the Web-service testing?

3027


Can I delete old microsoft visual c++ files?

712


hi i want to retrieve the data from one spread sheet to another workbook in EXCEL VBA. for exmp:customer details first name last name location state country country code mobile customer details raj krishna hyderabad andhra india 91 0 service required refrigirator company color details cost warranty service required samsung silver double door fridge 45000 3yeras

1944


What is mfc?

711


Enumerate the high level of the and element.

1823


What replaced microsoft paint?

736


What is VGA (Video Graphics Array)?

1711