Custom setting is like Custom object. In which you can store your static data like country name, postal code etc. And you can use the same in your Class. The beauty of custom setting is, it doesn't count against your governer limits.
You can build your own business logic based on Custom setting to set flag etc and use it in your class. Which in turns help you to keep the performance better.
But while deploying it to production. You need to create the data again and set it up as there in Sandbox or development instance.
Custom setting is like Custom object. In which you can store your static data like country name, postal code etc. And you can use the same in your Class. The beauty of custom setting is, it doesn't count against your governer limits.
You can build your own business logic based on Custom setting to set flag etc and use it in your class. Which in turns help you to keep the performance better.
But while deploying it to production. You need to create the data again and set it up as there in Sandbox or development instance.
Kindly acknowledge if it helps you.
Regards
SD