C# Settings Problems, Can't convert type string -


New C # here, and I'm trying to store a string in a setting.

What do I have:

  string testing = "setting to save!"; Properties.Settings.Default.testSetting = test; Properties.Settings.Default.Save ();  

However, I get this error:

Error 1 can not convert type 'string' to 'system.collections.Specialized.StringCollection'

Thank you.

properties. Settings. Default. Test Settings Code> String Collection

Check IDE for settings and see if you have chosen the wrong type.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -