.NET
@rewdboy a coworker had a small problem earlier today, he just couldn't find the good old Create GUID application that is packaged with Visual Studio. The tool has not been removed from the IDE it’s still there. It depends on what development type you have chosen. You may remember the first time you start Visual Studio after installing it prompts you asking what type of development you are planning to do. There are six choices, the one that I know has the Create GUID tool is the Visual C"# Development Settings, If you went with Web Development Settings you...
A nice feature of ReSharper, besides all refactoring goodness, is the ability to highlight the current line. That is the line where the caret is, is highlighted. This makes it so much easier to get back and find where you last left off or where the search result is when searching around in Visual Studio. If you have ReSharper it’s easy to do this. Just go to ReSharper’s options menu ReSharper –> Options. And from there go to the Editor menu and select “Highlight current line” If you have a customized color theme like I...
A common task is to take an array of strings or a List<string> and parse it to a comma separated value string for use in some sort of light weight media like a cookie or an url. The way that this is usually done is to loop the array and concatenate the strings with a trailing comma “ , “ to then remove the last one. Yesterday I was on my way in doing just this procedure when I thought that there’s got to be a better way to do this. After doing some research with...
How to use System.Xml.XmlConvert
Now a days no one uses arrays any more, the reason why, because they are a pain to work with and seriously, why would you when we have the generic List<T> collection. If you are using object collections that implement IEnumerable like List<T>, List(Of T) in VB, you are in a world of joy. And if you are using Linq then you are in a world of joy in Christmas!If there is one technology that have had an impact on my coding then it would be Linq. Things that where a pain to do like parsing an XML file and...