I have this code, where `p_entry' is a struct containing a string.
I get this error regarding the line in the body of the function:Code:public static void AddEntryToPlaylist(ref p_entry pEntry) { lstPlaylist.Items.Add(pEntry.name); }
The MSDN says this: error CS0118mp3pro_3.MainForm.lstPlaylist' denotes a 'field' where a 'class' was expected
I can't make sense of it... can anyone help?




Reply With Quote