How to make game recognise Screen resolution on startup

Hello, i’m working on my menu scripts and im making a system to change the screen resolution in game, working in C#, i know this can be done in the main menu but i know its also possible to do in game so figured i might as well

what i want to know is how i can get the game to recognize the games resolution on startup, since in my options menu the drop down will have the current resolution selected

the only thing i could find of any use was Screen.currentresolution, however that appears to be read only, there is Screen.SetResolution but thats what il be using to set it and im not sure how i could use this to determine what the screen resolution is on startup.

any ideas? i hope this is possible with unity

Look at this documentation and if you using uGUI with canvas, look there.