我可以在 asp.net 页面(请求排队和线程安全)中使此方法静态且没有问题吗?
public Image MakeImage()
{
Image objImage = new Bitmap(100, 100);
Bitmap bitmapimage = new Bitmap(objImage, 100, 100);
Graphics g = Graphics.FromImage(bitmapimage);
g.DrawImage(new Bitmap(50, 50), new PointF(1, 1));
return bitmapimage;
}