Created
December 7, 2016 21:36
-
-
Save alexperovich/c18cda6e63c105702a0d8ef07e8ee729 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace ConsoleApp1 | |
{ | |
interface IBar | |
{ | |
void Foo(); | |
} | |
class Program : IBar | |
{ | |
string _foo = "wignew"; | |
static void Main(string[] args) | |
{ | |
} | |
void IBar.Foo() | |
{ | |
lock (_foo) | |
{ | |
Console.WriteLine(); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment