What are the types of comment in c# with examples?
Answer / Kumar Awakash
There are three types of comments in C#: 1) Single-line comments (//), 2) Multiline comments (/* */), and 3) XML documentation comments (/// or /**/). An example of each is as follows: single-line comment: // This is a single-line comment. multiline comment: /* This is a multiline comment. It can span multiple lines. */ XML documentation comment: /// <summary>This is an XML documentation comment.</summary>
| Is This Answer Correct ? | 0 Yes | 0 No |
FOR EXAMPLE : CLASS Dotnet { } creating object: Dotnet dn=new Dotnet(); NOW THE QUESTION IS WHICH IS CALLED AS OBJECT ? EITHER dn OR new Dotnet() and CAN YOU PROVE YOUR ANSWER????? PLEASE REPLY...
Explain when should you call the garbage collector in .net?
Hello Friends..am Mohammed riyash..final year BCA in Jamal Mohamed College 2009. Trichy. My doubt is while connecting SQL2005 Built in Database withing the Visual Studio 2005 Framework.. I am getting the error.. That " An Error occurred and it may be due to , under the default settings of the Server, the connection cannot be established.." But the code works in MS Access for me.. Both in VB.Net and C#.Net am getting the same error.. Any genius please Message me to 9994558822 or mail me.. riyash.ips@gmail.com
Describe the parts of assembly.
Write a syntax for writing a event delegate.
What does mean c#?
What is executenonquery c#?
How does a while loop work?
What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?
Explain the ways to deploy an assembly?
How is the syntax written to inherit from a class in C#?Give an example ?
Why do we write system in c#?
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)