CSharp - Will the code compile: for loop?

Question

Will the code compile?

for (int i = 0;; i++)
{
     Console.WriteLine("i is now {0}", i);
}

Yes, but it will fall into an infinite loop.

Will the code compile?

for (int i = 5; i<10; )
{
      Console.WriteLine("i is now {0}", i);
}

Yes, but it will also fall into an infinite loop.