Code
Select a language
JavaScript
PHP
Java
Golang
Python
C#
C++
Erlangthe above code To implement this contol
Code
Select a language
JavaScript
PHP
Java
Golang
Python
C#
C++
Erlangthe above code To implement this contol
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Mohammad HussainRank #513 · 4.8K reputationPosted Jul 25, 2023, 6:06 AM EDT
First, you need to create the necessary data structure to represent the groups and items. For this example, let's assume you have a list of languages with their corresponding groups:
public class Language { public string Name { get; set; } public string Group { get; set; } }Next, you can retrieve the data from the database and populate the list of languages. For demonstration purposes, I'll use a sample list:
List languagesList = new List { new Language { Name = "JavaScript", Group = "first-choice" }, new Language { Name = "PHP", Group = "first-choice" }, new Language { Name = "Java", Group = "first-choice" }, new Language { Name = "Golang", Group = "first-choice" }, new Language { Name = "Python", Group = "second-choice" }, new Language { Name = "C#", Group = "second-choice" }, new Language { Name = "C++", Group = "second-choice" }, new Language { Name = "Erlang", Group = "second-choice" } };lejoRank #3,526 · 412 reputationPosted Jul 26, 2023, 1:06 AM EDT
tried the given codes .its not working
lejoRank #3,526 · 412 reputationPosted Jul 26, 2023, 2:23 AM EDT
not working