Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace GenericScale
- {
- public class EqualityScale<T>
- {
- private T left;
- private T right;
- public EqualityScale(T left,T right)
- {
- this.left = left;
- this.right = right;
- }
- public bool AreEqual()
- {
- bool result=this.left.Equals(this.right);
- return result;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement