I can use vb.net or c# on this part of the project and i was hoping someone could tell me a little about updating an active directory field.
i found in searching system.directoryServices in google this bit of vb code.
user.Properties("title")(0) = employeeTitle.SelectedItem.Text
which i think is this in c#
user.Properties["title"] = employeeTitle.SelectedItem.Text;
but maybe its not that in c# and it be interesting to know as it might help me understand what is going on here better. My training is more in C# java and c++ , so vb pages i find on the web don't always connect with me. My confusion is what is the second  in c# or (0) in vb doing here.
More generally the question is if you have a directory entry, how do you update a property, say employee id or work phone. I believe all properties that i need exist on the users i'm writing to but some dont have any values set on them for that field.
Edited 3 Years Ago by Nick Evan: Fixed formatting