Set array key as string not int?

Viewed 70922

I am trying to set the array keys as a strings like in the example below, but inC#.

<?php
$array = array();
$array['key_name'] = "value1";
?>
6 Answers
Related