c# - What does 'value type that is initialized to all 0's' mean? -


i wondering sentence in book c# i'm reading currently. sentence is:

'value type initialized 0's'.

probably don't understand because i'm not native speaker.

in understanding of language mean variable has multiple values when gets initialized? doesn't makes sense me. me understand means?

consider value type:

public struct point {    public int x;    public int y; } 

"all 0's" here means x = 0 , y = 0.

update: discovered example used in msdn documentation struct. throw in constructor.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -