napisałem taki krótki tekst i nic się nie dzieje, visual nie wyświetla żadnego błędu, ani też niczego nie pokazuje, konsola od razu znika.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
LocalVarDeclarations();
}
static void LocalVarDeclarations()
{
int myInt = 5;
string myString;
myString = "hello staroverflow";
bool b1 = true, b2 = false, b3 = b1;
System.Boolean b4 = false;
Console.WriteLine("Your Data:{0},{1},{2},{3},{4},{5}", myInt,myString,b1,b2,b3,b4);
Console.WriteLine();
}
}
}