What is the Difference between a sub and a function?
Answers were Sorted based on User's Feedback
Answer / abc
sub dose not return the value whereas function return the
value.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / zubair khan
SUB NOT RETURN THE VALUE WHERE FUNCTION RETURN THE VALUE.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / kamlesh sharma
through sub keyword we define a procedure which never
return value
and function may return value
| Is This Answer Correct ? | 1 Yes | 0 No |
What are the types of comments in c#?
What is the usage of Enumeration in C# Programming and is it good to use or not ?
How to get the sum of last 3 items in a list using lambda expressions?
What is deferred execution?
What is 8 bit signed integer?
What is windows form in c#?
Describe the parts of assembly.
What to implement on my class Finalize or IDisposable
Is a c# interface the same as a c++ abstract class?
What are the properties of string?
Which language is used for desktop application?
What does an indexer do?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)