As per my understanding contract`s own address is the address which we assign to owner of contract using msg.sender. But I saw this question on SE where it was described that a contract can access its own address using address(this) , but when i compiled following script
address owner;
function test (string _name)public view returns(bool){
owner = msg.sender;
return owner == address(this);
}
i get boolean result as false.
So What is the difference between msg.sender and address(this).