+ Start a Discussion
Manu@devManu@dev 

List, Set and Map

Hi all,

 

Can someone please explain me List, Set and Map with simple programs as examples.

 

I have already gone through the Salesforce http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_list.htm and other two links for Set and Map. Unluckily I am not able to understand any thing in this as I am new to write the code.

 

Please help..

 

Regards,

Manu.

vishal@forcevishal@force

Hello,

 

You should not only go through the docs, but also implement the sample codes given there. That's how you'll really understand their use and differences.

 


Manu@dev wrote:

Hi all,

 

Can someone please explain me List, Set and Map with simple programs as examples.

 

I have already gone through the Salesforce http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_list.htm and other two links for Set and Map. Unluckily I am not able to understand any thing in this as I am new to write the code.

 

Please help..

 

Regards,

Manu.




This is a good reference with simple examples:

http://theblogreaders.com/differentiate-between-list-set-and-map-in-salesforce/#.Ud_M1dJgeSo

 

Hope it helps.