Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace ConsoleApp1
- {
- class Program
- {
- static void Main(string[] args)
- {
- var a = new Struktura { A = 1, B = 1 };
- var b = new Struktura { A = 1, B = 2 };
- System.Console.WriteLine(a.Equals(b));
- System.Console.ReadKey();
- }
- }
- public struct Struktura
- {
- public short B;
- public int A;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement