Total Page Preview:   000000000123

What are the types of comment in C# with examples?

i. Single line (//)


//This is a Single line comment.


ii. Multiple line (/* */)


/*This is a multiple line comment

We are in line 2Last line of comment*/.

iii. XML Comments (///).


/// summary;

/// Set error message for multilingual language.

/// summary


Thank You

About Author

Brijesh Kumar

Database Developer

I have more then 6 years Experience in Microsoft Technologies - SQL Server Database, ETL Azure Cloud - Azure SQL Database, CosmosDB, Azure Data Factory, PowerBI, Web Job, Azure Function, Azure Storage, Web Apps, Powershall and Database Migration On-Premise to Azure Cloud.
LinkedIn :