What are the two kinds of properties?

Answers were Sorted based on User's Feedback



What are the two kinds of properties? ..

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

What are the two kinds of properties? ..

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

What are the two kinds of properties? ..

Answer / che

1)Default Property or Indexed Property.
2)Private Property or Custom Property.

Is This Answer Correct ?    5 Yes 6 No

What are the two kinds of properties? ..

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

What are the two kinds of properties? ..

Answer / abc

There are two types of propery
1.get
2.set

Is This Answer Correct ?    8 Yes 11 No

What are the two kinds of properties? ..

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

What are the two kinds of properties? ..

Answer / princess

chemical properties and chemical properties

Is This Answer Correct ?    3 Yes 13 No

What are the two kinds of properties? ..

Answer / chemist

chemical and physical properties :P

Is This Answer Correct ?    2 Yes 12 No

What are the two kinds of properties? ..

Answer / raj

Read only ( with no 'set')
write only (with no 'get')

Is This Answer Correct ?    3 Yes 14 No

What are the two kinds of properties? ..

Answer / payal mehta

There are two kinds of properties.
get(for write)
set(for read)

Is This Answer Correct ?    1 Yes 14 No

Post New Answer

More C Sharp Interview Questions

What?s the top .NET class that everything is derived from?

7 Answers  


what is an exception in .net?

0 Answers  


Is array a collection c#?

0 Answers  


What is an escape sequence? Name some string escape sequences in c#.

0 Answers  


What is the difference between do and while loop?

0 Answers  






What is a base class in C#?

0 Answers   TryTechnicals Pvt Ltd,


How do I create a new form in c#?

0 Answers  


What is static class in C#?

0 Answers   Winsol Solutions,


What are Memory foot print of an exe?

0 Answers   MCN Solutions,


How do you declare an interface in c#?

0 Answers  


how can one use hcl and c sharp together?

0 Answers  


What do you know about device context?

0 Answers   C DAC,


Categories