Tuesday, June 28, 2011

Using Structs (C# Programming)

public struct CoOrds
{
    public int x, y;

    public CoOrds(int p1, int p2)
    {
        x = p1;
        y = p2;
    }
}

No comments:

Post a Comment

Thank you for Commenting Will reply soon ......

Featured Posts

What is Zorin OS? Zorin OS is a powerful, secure, and unbelievably beautiful Linux distribution based on Ubuntu. It's specifically designed to make your switch from Windows or macOS buttery smooth! 🧈

  I'm diving into the world of Linux with Zorin OS! 🤯 In this video, I'll be installing and exploring this stunning operating syste...