Counting the number of elements in a sequence with LINQ C#

Originally posted on Exercises in .NET with Andras Nemes:
Say you have the following sequence of strings: string[] bands = { “ACDC”, “Queen”, “Aerosmith”, “Iron Maiden”, “Megadeth”, “Metallica”, “Cream”, “Oasis”, “Abba”, “Blur”, “Chic”, “Eurythmics”, “Genesis”, “INXS”, “Midnight Oil”, “Kent”, “Madness”, “Manic Street Preachers” , “Noir Desir”, “The Offspring”, “Pink Floyd”, “Rammstein”, “Red Hot Chili Peppers”,…

MySQL Installation

Originally posted on Archiez:
Installing MySQL using Yum # yum -y install mysql* Start the Apache httpd service and make it start automatically on every reboot# /etc/init.d/mysqld startor# service mysqld start# chkconfig mysqld onMake sure Apache’s Web service is accessible through a browser] Test# mysql Installing MySQL from Source Code -> Download the MySQL package#…

Hello World

I’ll be posting a few things later…So welcome to my new blog, where I either do some tutorials, share some code or talk about misc. subjects around code and/or hardware/mods. If you ask questions, I will answer them too. Such as help with anything, or suggestions. I am currently a student, so I learn as…