Skip to content

Instantly share code, notes, and snippets.

@cosminpopescu14
Created January 7, 2018 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cosminpopescu14/cdd551bbe3c246f3b3f82d4b27d0875c to your computer and use it in GitHub Desktop.
Save cosminpopescu14/cdd551bbe3c246f3b3f82d4b27d0875c to your computer and use it in GitHub Desktop.
Daca vreti sa le trmiteti prietenilor o urare de programator
var ions = from friend in FriendsList
where friend.FirstName == "insereaza numele persoanei" || friend.FirstName == "insereaza numele persoanei" ||
friend.FirstName == "insereaza numele persoanei" || friend.FirstName == "insereaza numele persoanei" || friend.FirstName == "Ionel"
select friend;
foreach(var f in friend)
{
System.Console.WriteLine("La multi ani celor care isi sarbatoresc onomastica ! :D ");
}
Console.ReadLine
/*se poate folosi si like*/
@cosminpopescu14
Copy link
Author

Linq and C#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment