   [.net] Weird TreeView.Nodes.Remove/Find problem
  I appear to be having a strange problem with my Win Forms Treeview(.NET 2.0). I can perfectly fine add new TreeNodes to the thing, but I appear to be unable to remove any items.This is my code, see the comments for the errors:  players.Nodes.Add("Toolmaker");  players.Nodes.Add("Patrick");  players.Nodes.Add("Monique");  players.Nodes.Add("Isolda");  players.Nodes.Add("Alistryn");  TreeNode ali = players.Nodes["Alistryn"]; // ali is null  TreeNode[] nodes = players.Nodes.Find("Toolmaker", true);   // Nodes is 0 dimension array  foreach (TreeNode node in nodes) players.Nodes.Remove(node);Any ideas on this?Toolmaker   
  I fixed the idea. The Nodes.Find/Remove methods use the TreeNode.Name property, while creating a new TreeNode only sets the text.So, I just have to create a TreeNode, set it's name and then add it.Toolmaker   