---
title: "What is the difference between comments in c sharp?"  
description: "What is the difference between comments in c sharp?"  
author: "Uttam Misra"  
published: 2010-10-15  
updated: 2020-09-22  
canonical: https://www.mindstick.com/interview/8/what-is-the-difference-between-comments-in-c-sharp  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is the difference between comments in c sharp?

// Single-line comment\
\
/* multi-line comment */\
\
/// XML documentation comment.

## Answers

### Answer by Pushpendra Singh

// Single-line comment\
\
/* multi-line comment */\
\
/// XML documentation comment.


---

Original Source: https://www.mindstick.com/interview/8/what-is-the-difference-between-comments-in-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
