c#中类似sprintf的函数是什么?sprintf( "你是第%d个客人 ",num); 类似这样的[解决办法]string str = string.Format( "您是第{0}天第{1}位客户,您有用的点数为{3} ",num,num1,num2);