struct C# with Example



struct C# with Example

 	using System;

	namespace CSharpIntermediateConstructsStruct
	{
		struct Real
		{ 
			public int x; 
			public int y;
		}
		
		class Structure
		{
			static void Main(string[] args)
			{
				Real complexNumber = new Real();
				Real realNumber = new Real();
				
				if(realNumber == complexNumber) {}
			}
		}
	}
 

0 Comment's

Comment Form

Submit Comment