Is it possible to Cast SObject dynamically?
Example :
I know we can do this :
(Account) Sobject
But I want to do this as the return type of sObject changes based on certain parameters.
(Dynamically Passing the Name) SObject
Any Kind of way around will be helpful... Thanks in advance :)