paudel uttam

All generations.

generate functionSat, 27 Apr 2024

filter two list according to id and name

lic class Person { public int Id { get; set; } public string Name { get; set; } public string Surname { get; set; } public string Email { get; set; } public string Phone { get; set; } public string Address { get; set; } public string City { get; set; } public string PostalCode { get; set; } public string Country { get; set;

generate functionSat, 27 Apr 2024

filter two list according to id and name

lic class Person { public int Id { get; set; } public string Name { get; set; } public string Surname { get; set; } public string Email { get; set; } public string Phone { get; set; } public string Address { get; set; } public string City { get; set; } public string PostalCode { get; set; } public string Country { get; set;

generate functionSat, 27 Apr 2024

filter two list according to id and name

lic class Person { public int Id { get; set; } public string Name { get; set; } public string Surname { get; set; } public string Email { get; set; } public string Phone { get; set; } public string Address { get; set; } public string City { get; set; } public string PostalCode { get; set; } public string Country { get; set;

generate functionSat, 27 Apr 2024

filter two list according to id and name

lic class Person { public int Id { get; set; } public string Name { get; set; } public string Surname { get; set; } public string Email { get; set; } public string Phone { get; set; } public string Address { get; set; } public string City { get; set; } public string PostalCode { get; set; } public string Country { get; set;

generate functionSat, 27 Apr 2024

filter two list according to id and name

ript function filter(list, id, name) { return list.filter(function(item) { return item.id === id || item.name === name; }); } // filter the list of items by id or name var filteredItems = filter(items, 1, 'Item 1'); // or by id only var filteredItems = filter

Javascript
View

Want to kickstart your project?Use the new AI Studio to create your code