TCS Interview Question

What is custom setting? difference between custom setting and metadata?