_43// Install the C# / .NET helper library from twilio.com/docs/csharp/install
_43using Twilio.Rest.Content.V1;
_43 TwilioClient.Init(accountSid, authToken);
_43 // define the twilio/list-picker
_43 var twilioListPicker = new TwilioListPicker.Builder();
_43 twilioListPicker.WithBody("Owl Air Flash Sale! Hurry! Sale ends on {{1}}!");
_43 var item1 = new ListPickerItems.Builder()
_43 .WithItem("SFO to NYC for $299")
_43 .WithDescription("Owl Air Flight 1337 to LGA")
_43 var item2 = new ListPickerItems.Builder()
_43 .WithItem("OAK to Denver for $149")
_43 .WithDescription("Owl Air Flight 5280 to DEN")
_43 var item3 = new ListPickerItems.Builder()
_43 .WithItem("LAX to Chicago for $199")
_43 .WithDescription("Owl Air Flight 96 to ORD")
_43 twilioListPicker.WithItems(new List<ListPickerItems>() { item1, item2, item3 });
_43 // define all the content types to be part of the template
_43 var types = new Types.Builder();
_43 types.WithTwilioListPicker(twilioListPicker.Build());
_43 // build the create request object
_43 var contentCreateRequest = new ContentCreateRequest.Builder();
_43 contentCreateRequest.WithTypes(types.Build());
_43 contentCreateRequest.WithLanguage("en");
_43 contentCreateRequest.WithFriendlyName("owl_sale_list");
_43 contentCreateRequest.WithVariables(new Dictionary<string, string>() { {"1", "end_date"} });
_43 // create the twilio template
_43 var contentTemplate = await CreateAsync(contentCreateRequest.Build());
_43 Console.WriteLine($"Created Twilio Content Template SID: {contentTemplate.Sid}");