Is it posible that the JIT compiler will make a static method inlined?
For exmaple, we have some code:
class A
{
public static int c(int v)
{
return v*2
}
}
..............
Console.WriteLine(A.c(2));
In wihich circumstances can method public static int c(int v)
be inlined by the JIT compiler?