I have a field of type Choice with these options:-
and i want to convert this site column into a managed metadata column. so i created a new site column of type managed metadata and i link it to a new term set which contain the above choices as terms. but i am not sure how i can write a CSOM code to do the conversion from the choices to terms, mainly the following:-
1- Get the term's GUID based on the term name (choice name).