<!DOCTYPE html>
<html lang='en' data-theme="dark">
<head>
<meta charset='utf-8' />
<meta name="color-scheme" content="dark light">
<title>Performance Comparison between for, foreach, and ForEeach() method</title>
<link rel="stylesheet" href="https://cdn.datatables.net/1.13.7/css/jquery.dataTables.min.css" />
<link rel="stylesheet" href="https://cdn.datatables.net/colreorder/1.5.4/css/colReorder.dataTables.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/2.4.2/css/buttons.dataTables.