private const string s = "" yields null?

  • Thread starter Thread starter Miha Markic
  • Start date Start date
M

Miha Markic

Hi,

Did anybody notice that the following declaration of a member const

public class Tubo
{
private string const def = "";
}

is alyways null instead of empty string ("")?

Is this a bug or feature or something else?

Thanks,
Miha
miham at spin dot si
 
Back
Top