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 mfc?

524


How does xaml relate to biztalk/.net? : xaml

567


What is SCSI (Small Computer System Interface)?

1495


what is windows backup and type of windows backup

1719


Can I disable microsoft onedrive?

540






what is the difference between IE5 and IE6

2221


Can you uninstall microsoft edge?

552


What is UPS (Uninterruptible Power Supply)

1633


What are all the microsoft programs?

528


What languages can you code in visual studio?

557


What is UNIX?

1463


Is windows a microsoft product?

521


What is URL Forwarding ?

1521


What is Socket ?

1515


In what order do we have to catch the exceptions: TimoutException, FaultException,

1703