Explore the Top Microsoft SQLServer Technical/ Interview Questions here: http://Xplore2WinSqlServer.blogspot.com/
Explore the Top Microsoft C# Technical/ Interview Questions here: http://XploreCSharpDotNet.blogspot.com
Explore the Top Microsoft Blazor Technical/ Interview Questions here: https://XploreBlazor.blogspot.com/
Explore the Top Microsoft Blazor Technical/ Interview Questions here: https://XploreBlazor.blogspot.com/
The following predefined code snippets are available in Visual Studio for easy generation of a property inside the code window:
1. Type prop and press tab key twice to generate the following automatic property snippet:
public int MyProperty { get; set; }
2. Type propfull and press tab key twice to generate the following property code snippet with a private variable:
private int myVar;
public int MyProperty
{
get { return myVar; }
set { myVar = value; }
}
3. Type propg and press tab key twice to generate the following property code snippet with a public getter and private setter:
Explore the Top Microsoft SQLServer Technical/ Interview Questions here: http://Xplore2WinSqlServer.blogspot.com/
Explore the Top Microsoft C# Technical/ Interview Questions here: http://XploreCSharpDotNet.blogspot.com
No comments:
Post a Comment