Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# get display resolution

string screenWidth = Screen.PrimaryScreen.Bounds.Width.ToString();
string screenHeight = Screen.PrimaryScreen.Bounds.Height.ToString();
Label1.Text = ("Resolution: " + screenWidth + "x" + screenHeight);
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# remove non-alphanumeric characters from string 
Csharp :: remove repeated items in a list unity 
Csharp :: c# get bytes from string 
Csharp :: how to get rigidbody speed in unity 
Csharp :: c# difference between break and continue 
Csharp :: get path c# 
Csharp :: c# iorderedenumerable to dictionary 
Csharp :: check if gameobject exists unity 
Csharp :: unity remove gameobject 
Csharp :: generate random number c# 
Csharp :: get all files in all subdirectories c# 
Csharp :: c# take first 4 characters of string 
Csharp :: itextsharp landscape a4 
Csharp :: get filename from path c# 
Csharp :: windows form textbox numbers only 
Csharp :: untiy delet ke 
Csharp :: unity rotate around pivot c# 
Csharp :: How To Copy a text C# unity 
Csharp :: c# 8 null coalescing assignment 
Csharp :: search the third word in string in c# 
Csharp :: if exist TempData[] c# 
Csharp :: C# multiple button click event to password textbox 
Csharp :: c# convert utc to est 
Csharp :: unity how to get fps c# 
Csharp :: removing illlegal char from filename 
Csharp :: uuid generator asp.net 
Csharp :: use only one class from a namespace in c# 
Csharp :: blazor alert 
Csharp :: random unity 
Csharp :: exit programm c# 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =