comment out code in C# code example
Example 1: comment in c#
// This is a single line comment in C#.
/* This is a
multi line comment
in C#
*/
Example 2: comments in c#
// Single Line Comment
/*
Multiline
Comments
*/
// This is a single line comment in C#.
/* This is a
multi line comment
in C#
*/
// Single Line Comment
/*
Multiline
Comments
*/