arun s wrote: > i want to know how the encapsulation rules works in D. > i have made a attribute as private in the class, but am able to access > this attribute directly from the class instance...can any body give reason > for this??? You should post some code for decent replies.