Monday 16 December 2013

C# - How to fix error - 'StringBuilder' could not be found

Watch this example on YouTube


You may receive this error if you translated VB.NET code into C# using some online translator

Error 1 The type or namespace name 'StringBuilder' could not be found (are you missing a using directive or an assembly reference?) C:\Users\livingroomadmin\Documents\Visual Studio 2013\Projects\WebApplication1\WebApplication1\WebForm1.aspx.cs 16 13 WebApplication1

to fix it simply add

using System.Text

No comments:

Post a Comment