Skip to content

Instantly share code, notes, and snippets.

View inspoy's full-sized avatar
🤔
Thinking

Inspoy Cheng inspoy

🤔
Thinking
View GitHub Profile
View GetFinalString.cs
/// <summary>
/// 得到处理参数和转义后的最终字符串
/// </summary>
/// <param name="rawStr">未处理的字符串</param>
/// <param name="args">参数</param>
/// <returns></returns>
public string GetFinalString(string rawStr, params object[] args)
{
// 处理参数和转义
// 填充参数