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 |
How main method is called in c#?
How can you use abstract class and interface?
What does string format do?
If the interface in c# only contains the declaration of the methods and we need to define those methods in the class, then why we use the interface?
What is activator c#?
What is difference between interface inheritance and class inheritance ?
What is use of list in c#?
what is the main differnce between const,readonly and static
3 Answers Beehive Systems, CDAC,
What is use of a HashTable in .NET?
What is the usage of OLE?
Which is faster iqueryable or ienumerable?
What's the c# syntax to catch any possible exception?
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)