Hi All yesterday i was post one question : like c# allow ; ; ; ; ; ; ; ; ; ; ; ; (C# Empty Statement)
Why C# allow this fun? ; ; ; ;
and found the answer : https://stackoverflow.com/a/20551989/2218635
But today i saw another one fun(bug)
See this below image
Why visual studio allow this? Code build success. Why it's build?
and another one fun code always run
private void install()
{
http://www.stackoverflow.com
return;
}
Edit :
See above method is a void method , I know void method does not return . But Why it's not shown any error? and I did't assign any variable for the"http://www.stackoverflow.com".but why it's not give me a error ?