KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have the following code and I am trying to work out how to multiply all values in my IEnumerable<int> . I thought there might by a Multiply method like there is with Sum. I guess I could do a foreach over each item but these days this seems tedious. Any suggestions? //1:2:6 string[] pkgratio = comboBox1.SelectedRow.Cells["PkgRatio"].Value.ToString().Split(':'); var ints = pkgratio.Select(x => int.Parse(x)); int modvalue = ints....
Tags (comma-separated)
Save Edits
Cancel