Is there a similar function for VB.NET as
in PHP :
array_key_exists -- Checks if the given key or index exists in the array. return true or false.
<?php
$search_array = array("first" => 1, "second" => 4);
if (array_key_exists("first", $search_array)) {
echo "The first element is in the array";
}
?>
if there isnt could you please write me one
in PHP :
array_key_exists -- Checks if the given key or index exists in the array. return true or false.
<?php
$search_array = array("first" => 1, "second" => 4);
if (array_key_exists("first", $search_array)) {
echo "The first element is in the array";
}
?>
if there isnt could you please write me one