John Baird
Coatesville, Pennsylvania, United States
General information
Category:
Coding, syntax and commands
Environment versions
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;}
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only