Guest User

Guest User

  • Tech Writer
  • 357
  • 120.8k

Code explanation

Jul 23 2012 11:27 AM
Hi

Ive been looking inside the .NET Framework and have noticed a general pattern appearing.

Given the code below:-

public void Insert(object key, object value, bool add)

if(this.count >= this.loadsize)

My question is, the very first condition that is checked is by the if statement. But how are the fields count and loadsize initialized with values? is it when the actual instantiation of the method occurs?

Regards

Steven

Answers (7)