What are the two kinds of properties?
Answers were Sorted based on User's Feedback
Answer / diana cheriyan
1.ReadOnly Property(With get Only)
2.WriteOnly Property(With Set only)
3.ReadWrite Property(With both set and get)
| Is This Answer Correct ? | 14 Yes | 5 No |
Answer / manish
HELLO ALL .... whats going on ? ,,, GET and SET are not the
types of property.
Those are parts of property.
READONLY and WRITEONLY can be said as part.
But we can not forget INDEXED PROPERTIES.
| Is This Answer Correct ? | 5 Yes | 5 No |
Answer / che
1)Default Property or Indexed Property.
2)Private Property or Custom Property.
| Is This Answer Correct ? | 5 Yes | 6 No |
Answer / nazrul
There three type of properties.
1)Readonly properties(Only get)
2)WriteOnly Properties(Only set).
3)Read and Write(set + get)
| Is This Answer Correct ? | 2 Yes | 4 No |
Answer / sharifuddin
Hey Ral check u r answer once?
Its wrong yaar
set is for write only
get is for read only
both r for read and write
| Is This Answer Correct ? | 2 Yes | 5 No |
Answer / raj
Read only ( with no 'set')
write only (with no 'get')
| Is This Answer Correct ? | 3 Yes | 14 No |
Answer / payal mehta
There are two kinds of properties.
get(for write)
set(for read)
| Is This Answer Correct ? | 1 Yes | 14 No |
What is the importance of closing an ado.net application?
How can encapsulation be achieved?
Explain when should you call the garbage collector in .net?
What is serializable in c#?
Define constructors
What is a di class?
What is the difference between list and arraylist in c#?
I have a very important query in my mind. Please help me regarding this. I don't have any real time exp in .net. But I have a knowledge it .net. I got an offer from an MNC company as a software developer has I had kept 2 years of fake exp. Even though for this job I had worked hard to crack interview for about an year. So, I would like to know how difficult it will be for working in real time as I don't have real time exp. Please tell me as soon as possible bcoz I need to join by next month. Can i sustain over there for a longer time or not. And also let me know how to work pressure will be over there. Please help me regarding this. I'm getting tension thinking about it. Thank you.
What is binding in c#?
What are the generation of Garbage Collection in C# .NET ?
Can arraylist store different data types in c#?
How big is int16?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)