Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Answers
Set Property
Vijay
11y
965
1
Reply
private float fsalary =20000;
public float Salary
{
set { fsalary = 500102; }
}
Emp e=new Emp();
Console.WriteLine("The Emp salary is:{0}",e.Salary);
How to access set property?
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
c# form app
how to check files copy are started in folder in c#.net