Activity Forums Salesforce® Discussions How we can add wrapper class instances in list in Salesforce?

  • Deepanshu Singh

    Member
    April 17, 2020 at 1:03 pm

    I don't know what exactly you are trying to do. Please be more brief, Anyways, wrapper class instance can be added easily in list by these few statements. List<wrapperClass> wrapClassList = new List<wrapperClass>();
    wrapClassList.add(new wrapperClass(arg1, arg2)());

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos