what is the use of properties in c