Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing comments in .cs file?
Message
 
 
À
01/04/2007 19:03:31
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01211041
Message ID:
01211125
Vues:
18
Thank you, John.

>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.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform