Hi,
is there any difference between accessor written as
get
{
}
get;
nccsbim071
25
Junior Poster
Recommended Answers
Jump to PostYes.
I believe using
get; set;
like this was implemented in the 3.X framework. In this case you cannot call any custom methods when a property is being changed.public bool FormEnabled { get; set; }
But if you implement it the second way you …
All 4 Replies
sknake
1,622
Senior Poster
Featured Poster
nccsbim071
25
Junior Poster
sknake
1,622
Senior Poster
Featured Poster
nccsbim071
25
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.