How do you declare a method in c#?
Answer / Vikash Trivedi
You can declare a method in C# using the following syntax: returnType MethodName(parameters) { ... }. For example, void HelloWorld() { Console.WriteLine("Hello World!"); }
| Is This Answer Correct ? | 0 Yes | 0 No |
Describe ado.net?
Why we use anonymous methods in c#?
What is the syntax for calling an overloaded constructor within a constructor?
What is the difference between protected and private?
what are the files we need to deploay a project in the system?
What is the difference between field and variable in c#?
What are managed providers?
I created a class which is inherited from interface IDisposable. Now if I use object of this class with using keyword. Then How the dispose method will get call. Does garbage collector call it or some else.
What is wrong with the sample program below?
what is the meaning of Object lifetime in OOPS
Why do we need a singleton class?
How to force my .net app to run as administrator on windows 7?
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)