Hello ,
can any one help me convert that property to vb .net
the proble is , i don't know how i change the lockCode:public override int Capacity { get { lock (_root); return _collection.Capacity; } set { lock (_root); _collection.Capacity = value; } }
VB Code:
Public Overrides Property Capacity As Integer Get [COLOR=DarkRed]'lock (_root);[/COLOR] Return _collection.Capacity End Get Set [COLOR=DarkRed]'lock (_root);[/COLOR] _collection.Capacity = value End Set End Property
thanks in advance
geobest




Reply With Quote