You need to sign in to do that
Don't have an account?

How to add List<String> values
hi , how to adding sring values in list collections. and display list of values by using this List <string>...
List<string> lst= new List<string>
please help me
String var = 'hi';
List<string> lst= new List<string>
lst.add(var);
lst.add('Hello');
Regards,
Magulan D
Salesforce.com certified Force.com Developer.
SFDC Blog
If this post is your solution, kindly mark this as the solution.