Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing comments in .cs file?
Message
From
01/04/2007 19:15:16
 
 
To
01/04/2007 19:03:31
John Baird
Coatesville, Pennsylvania, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01211041
Message ID:
01211083
Views:
15
But you could use /// to make the comments exportable.


>Nope, that's what we do, only we use the c- type comment, makes it much easier to read in my opinion:
>
>
>/*
>
>   This is a comment line.
>   And another
>
>   and some more....
>
>*/
>
>
>>I would like to write some comments at the top of the .cs file, in the space between last "using System. ..." and "namespace myproject". For example, the comment will look something like:
>>
>>
>>using System.Data;
>>
>>// Rev. History:
>>//                99/99/9999
>>//                Comment about change
>>
>>namespace MyProject
>>{
>>
>>// Classes
>>
>>
>>
>>Does anybody see any possible problem with this approach?
>>
>>Thank you.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform