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 |
Explain anonymous type in c#?
Why do we use generics in c#?
What is windows application in c#?
Describe the ways of cleaning up objects in c#.
What is array class in c#?
Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?
How can you prevent classes to be inherited?
What is as keyword in c#?
How do you inherit from a class in C#?
What is system console writeline in c#?
What?s class SortedList underneath?
what is an internal specifier? what happens internally when I use access specifier Internal ?
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)