Shown below is a code snippet which does not work.
One would notice the following error when the above XAML is parsed.
Cannot create object of type “System.String”. CreateInstance failed, which can be caused by not having a public default constructor for ‘System.String’.
The reason for this error is that the “System.String” class does not provide a default constructor and this disallows declaring empty string.
What’s the fix?
Hope this helps.