The ASP Key Property is used to change an existing key-value pair to a new key-value in a Dictionary Object.
Parameters: This method has two parameters as mentioned above and discussed below:
- Key: It specifies the name of the existing key that has to be changed.
- newkey: It defines the new name of the key. It is a required attribute.
"Value of changed key 'hd' is: headphones