Two errors were detected with the use of lists in Razor components in Blazor .
- When inserting empty data like
List<string> list = new List<string>(); list.Add ("");,
or empty spaces like
List<string> list = new List<string>(); list.Add (" ")
to the list. These are being stored as null data.
- Debugging mode: When you insert the character
List<string> list = new List<string>(); list.Add ("\\")
when inspecting the items in the list, debugging stops and the browser closes.
Two errors were detected with the use of lists in Razor components in Blazor .
List<string> list = new List<string>(); list.Add ("");,or empty spaces like
List<string> list = new List<string>(); list.Add (" ")to the list. These are being stored as null data.
List<string> list = new List<string>(); list.Add ("\\")when inspecting the items in the list, debugging stops and the browser closes.