function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Set<id> contactids = new set<id>(); List<contact> listcons = [select id,name from contact]; for(contact con:listcons ){ contactids.add(con.id); } system.debug('contactids '+contactids );
Try with below code in developer console.
If this helps, please mark it as best answer.
Thanks!!