You're right, thanks for your help!
The following code methods can all be successfully executed in Linqpad, which is very convenient for code snippet or testing purposes
But in LA, there are various limitations, not very libre, it would be better if it could also be improved
The first type of code is more generic, and I use this method now in LA
The following code methods can all be successfully executed in Linqpad, which is very convenient for code snippet or testing purposes
But in LA, there are various limitations, not very libre, it would be better if it could also be improved
The first type of code is more generic, and I use this method now in LA
using ab.cd;
class Program
{
public static void Main(string[] args)
{
var m = "m";
}
private static void A()
{
var a = "a";
}
private static void B()
{
var b = "b";
}
}
using ab.cd;
public static void Main(string[] args)
{
var m = "m";
}
private static void A()
{
var a = "a";
}
private static void B()
{
var b = "b";
}
using ab.cd;
static void Main(string[] args)
{
var m = "m";
}
private static void A()
{
var a = "a";
}
private static void B()
{
var b = "b";
}
using ab.cd;
void Main(string[] args)
{
var m = "m";
}
private static void A()
{
var a = "a";
}
private static void B()
{
var b = "b";
}