This code will retrieve a list of currently running process on a machine and write their names to console.
// Get A List of process using // System.Diagnostics.Process class List<Process> processes = Process.GetProcesses().ToList(); // Write them out to Console processes.ForEach(x => Console.WriteLine(x.ProcessName));
Fortune magazine released their Top 100 companies to work for list. At number one is NetApp who are having a Slashdot effect after achieving number 1 spot on the list. Interesting findings are Google at number 4 and beloved Microsoft slipping to number 38. While I take these lists with a pinch [...]
I have a confession to make. When I saw var keyword for the first time I did not like it at all. My first opinion was that var was so variant like. Call me a control freak but I like to clearly see what I am declaring. And var was something I thought made the [...]
If you are an Architect or a Developer then I highly recommend that you read Application Architecture Guide from Patterns & Practices team at Microsoft. In recent years .Net Framework has grown tremendously to include technologies such as WPF, WCF, WF over the standard offerings such as ASP.NET, Windows Forms and BCL. How does [...]
Earlier I wrote a post showing how to write a LINQ query which gets transformed into a T-SQL query with a "Where In" clause. I had a comment on the post by Steve saying that the approach only works with strings. In this post I will show you a similar query which works with [...]
I wish all readers of One .Net Way a very Happy New Year. Let 2009 be an year of learning. I know it will be for me.
Top Posts
- LINQ To SQL Tutorial
- LINQ To SQL Join On Multiple Conditions
- Code Sample: Programmatically Download File Using C#
- Windows 7 Control Panel In Classic Mode
- More Details Emerge On Microsoft Master Certification
- Use SqlConnection With LINQ To SQL
- Free Icons And Images With Visual Studio 2008
- Capture XML In WCF Service
- Dynamic Sort With LINQ
- StyleCop Tutorial
Tags
.Net 2010 ADO.NET ASP.NET Azure Blogging Books Browsers C# Certification Cloud Computing Code Snippets Community Data Services Eclipse Entity Framework Google IDE Java LINQ Mac Microsoft Museum NetBeans Office Oracle REST SharePoint Silverlight SQL Server T-SQL Tips Tools Training Visual Studio Visual Studio 2010 WCF Web Windows Windows 7 Windows Forms Windows Live WMI WPF XAML

