fork download
  1.  
  2. string strSelectedProduct = cbProduct.SelectedItem.ToString();
  3. XElement doc = XElement.Load(@"..\..\stock.xml");
  4. /*Red Scribbles here*/ cbBrandName.Items.AddRange(doc.Descendants("brandname").Where(x => x.Element("productname").Value == strSelectedProduct).Select(y => y.Element("brandname").Value).ToList<string>());
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(2,32): error CS0116: A namespace can only contain types and namespace declarations
prog.cs(3,34): error CS0116: A namespace can only contain types and namespace declarations
prog.cs(4,51): error CS8025: Parsing error
Compilation failed: 3 error(s), 0 warnings
stdout
Standard output is empty