2
Answers

Whether it is possible

Photo of Maha

Maha

12y
1.1k
1
Whether it is possible to get an output like as follows from either modification or replacement of the following program:

1 + 2 + 3 = 6

using System;

namespace _11111
{
class Program
{
static void Main(string[] args)
{
int x;

x = 0;
while(x<3)
{
x = x + 1;
Console.Write("{0, 5}", x);
}
Console.ReadKey();
}
}
}


Answers (2)

0
Photo of Jignesh Trivedi
NA 61.3k 14.2m 12y
hi,

I am not sure but in this case LINQPad may help you to debug Linq query.
http://www.linqpad.net/

Also refer below link it might help you.
http://weblogs.asp.net/scottgu/archive/2007/07/31/linq-to-sql-debug-visualizer.aspx
http://blogs.msdn.com/b/ericwhite/archive/2008/11/07/debugging-linq-queries.aspx

hope this will help you.

Accepted