Answers for "struct structure c#"

C#
0

structure in c sharp with example

struct Coordinate
{
    public int x;
    public int y;
}

Coordinate point = new Coordinate();
Console.WriteLine(point.x); //output: 0  
Console.WriteLine(point.y); //output: 0
Posted by: Guest on October-17-2020

C# Answers by Framework

Browse Popular Code Answers by Language