John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Network:
Windows 2003 Server
>>>Hi everybody,
>>>
>>>When I'm creating a new class and want to add a new property, is there a quick shortcut to automatically add property and get/set pairs?
>>>
>>>Thanks in advance.
>>
>>There is a snippet called prop that will insert a generic property with the get/set
>
>I see, thanks. I also already found another way via Google / click on a variable and Ctrl+R, Ctrl+E
>
>Actually, how exactly to insert it? I type prop, what should I click/do next?
try hitting the tab key
or typing
public string MyProperty {get;set;}
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement