轻松学习C#的String类

2019-12-30 11:13:44于丽
  • using System.Linq;   using System.Text;  
  • using System.Threading.Tasks;     
  • namespace 字符串   {  
  •  class Program    {  
  •  static void Main(string[] args)    {  
  •   Console.WriteLine(@"C:Windowssystem32");//第一种输出格式就是在前面加@     Console.WriteLine("C:Windowssystem32");//第二种输出格式就是将""改成""  
  •   Console.ReadLine();    }  
  •  }   }  
  • </span>   ?

    输出的结果为:

    轻松学习C#的String类

    以上就是C#的String类全部学习例题,很详细的学习教程,希望对大家的学习有所帮助。



    注:相关教程知识阅读请移步到c#教程频道。