Showing posts with label this == null. Show all posts
Showing posts with label this == null. Show all posts

Wednesday, July 13, 2016

C# this == null

How to make NullFun.Method to write "true" to Console?

public class NullFun
{
    public void Method ()
    {
        Console.WriteLine(this == null);
    }
}

Read below for the answer.