GeekInterview.com
Series: Subject: Topic:
Question: 440 of 460

How do I port "synchronized" functions from Visual J++ to C#?

Original Visual J++ code: public synchronized void Run()

{

// function body

}

Ported C# code: class C

{

public void Run()

{

lock(this)

{

// function body

}

}

public static void Main() {}

}

Asked by: Interview Candidate | Asked on: Sep 13th, 2004

This Question is not yet answered!

Related Open Questions

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.