Get cookies name

i want get cookies name from list, i m using this lolicode: string last = list2.First();
but it return me same thing

data.COOKIES is a dictionary, not a simple list. In this case what you want to do is

string firstCookieName = data.COOKIES.Keys.First();

or alternatively

string firstCookieName = data.COOKIES[0].Key;

Thanks you!! is working!

This is not working at all, it returns this:
(7,14): error CS1503: Argument 1: cannot convert from ‘int’ to ‘string’

Solved here :