Saturday, March 7, 2009

C# Equivalent of VB

DECLARING AN OBJECT VARIABLE IN VB & C#

VB code:

Shared _lock As New Object

Equivalent C# code:
private static object _lock = new object();

No comments:

Post a Comment