Bamboo.Prevalence.Examples.UserLogin.User.Equals C# (CSharp) 메소드

Equals() 정적인 개인적인 메소드

static private Equals ( byte lhs, byte rhs ) : bool
lhs byte
rhs byte
리턴 bool
		static bool Equals(byte[] lhs, byte[] rhs)
		{
			if (lhs.Length != rhs.Length)
			{
				return false;
			}

			for (int i = 0; i<lhs.Length; ++i)
			{
				if (lhs[i] != rhs[i])
				{
					return false;
				}
			}
			return true;
		}		
	}