Sean Sexton
Recent Posts
Top Posts
- #688 - Aggregation, Composition and Containment
- #820 - A Protected Constructor Allows a Subclass to Create Instances
- #982 - An Enum Type Can Store a Maximum of 32 Flags
- #282 - Creating Private Static Methods
- #564 - Use the Reverse Method to Iterate Backwards through a Collection
- #257 - Private Static Fields
- Index
- #1,170 - You Can't Unsubscribe from an Event Using a Lambda Expression
- #686 - Inheritance vs. Containment
- #981 - Full List of C# Keywords
Tags
#define
#if
6.0
Accessibility
Anonymous Types
Arguments
Array
Arrays
Basics
Boxing
C#
catch
Class
Class Diagram
Classes
Collections
Constants
Constructor
Constructors
Conversions
Covariance
Data Types
Deep Copy
Delegate
Delegates
Enum
Enumeration
Equals
Events
Exceptions
Fields
Finalizer
Floating Point
foreach
Garbage Collection
Generic
Generics
Heap
IEnumerable
Inheritance
Intellisense
Interface
Interfaces
Lambda Expression
Main
Memory
Methods
Miscellaneous
Namespaces
new
null
Nullable
Object
Object Initializer
Operators
Optional Parameters
override
Parameters
Patterns
Polymorphism
Private
Properties
Public
Reference Types
Statements
Static
Strings
struct
Throw
try
Unicode
Value Types
Variables
virtual
Visual Studio
Blog Stats
- 2,679,061 hits
#29 – Comments
July 16, 2010 3 Comments
Comments in a C# program denote text that is ignored by the compiler and therefore has no effect on the behavior of the program.
There are two types of comments in C#:
Examples:
More
Filed under Basics Tagged with C#, Comments