@FranK Duc , Based on my test, I find that the code you provided can almost achieve your target.
Tested code:
var list1 = new List<double>();
var list2 = new List<int>();
list1.Add(2.11);
list1.Add(3.22);
list1.Add(4.36);
list1.Add(2.03);
list2.Add(12);
list2.Add(13);
list2.Add(16);
list2.Add(9);
list2.Add(6);
var list3 = new List<double>();
for (int i = 0; i < Math.Min(list1.Count,list2.Count); i++)
{
list3.Add(list1[i]*list2[i]);
}
Result:
What is your current question about the code?
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.