Home > Net >  In the c # compiler error in the PTA
In the c # compiler error in the PTA

Time:04-10

//in a computer simulation was successful, but in spelling problem submit compilation errors don't know why, when bosses help have a look at the code! Rectifying error correction!!!!!!

Using System;
The namespace _3_2
{
Class Program
{
The static void Main (string [] args)
{
TestA A=new testA ();
TestA B=new testA (" c # 6.0 ");
}
}
The class testA
{
Private readonly string v.

Public testA ()
{
Console. WriteLine (" # ");
}

Public testA (string v)
{
This. V=v;
Console. WriteLine (v);
}
}
}
  •  Tags:  
  • C#
  • Related