I have two layers . Now I want to say that the spatial references of these layers are same or not ..
I am using .Net technologies in arcmap.
I have successfully got spatial reference information from layers and now I want to compare these spatial references ..
Example
sp1 , sp2
if(sp1 == sp2)
give message to user that spatial references are same;
else
give message to user that spatial references are not same;
How do I know if these spatial references are same?