See this code
public override string EditorTypeName => CustomEditName;
what kind of code is it ?
is it any function declaration or property?
how to convert the above to .net 4.5 version compatible? thanks
See this code
public override string EditorTypeName => CustomEditName;
what kind of code is it ?
is it any function declaration or property?
how to convert the above to .net 4.5 version compatible? thanks
how to convert the above to .net 4.5 version compatible?
Place the caret at this line, press <Ctrl+.> and select “Use block body for properties”.
If you do not have Visual Studio right now, it will transform it to:
public override string EditorTypeName
{
get
{
return CustomEditName;
}
}
Expression body definition has any advantages or is it a syntactic sugar ? when we write a function having multiple lines then can we use Expression body definition there. How to compose a multi line function with Expression body definition. please share a code snippet if possible. thanks
It is an Expression body definition, as in => operator.
Expression body definition has any advantages or is it a syntactic sugar ? when we write a function having multiple lines then can we use Expression body definition there. How to compose a multi line function with Expression body definition. please share a code snippet if possible. thanks
9 people are following this question.
Insert a node as child ,before or after a node in nested dynamic JSON Node using C#
Visual Studio 2019: Undefined behavior in a C++/CLI wrapper project.
Example for how to get Package Metadata from Azure DevOps Rest-Api Artifacts using c#
How to collapse individual nested grids/stackpanels inside a grid?