Posts Tagged ‘ csharp ’
CodeProjectLet’s say we have an XSD representing a library with a list of books and employees in it. Here is a sample Xml using this XSD: Tip 1 – Generating Code from XSD We’d like to have an object representation of this Xml. Thus, we’ll use the Xml Schema Definition tool to generate .Net C# code [ READ MORE ]
CodeProjectLet’s say you have a class A that inherits from class P. It’s clear that you can create a new object of type A and cast it to type P. Now, create a List<A> object and add to it object a1. Then try to cast it to List<P>. You would expect it to work, but it doesn’t since C# doesn’t support variance for [ READ MORE ]
CodeProjectOne component of an application I’m writing uses a lot of regular expressions. To be sure I was using the right regular expressions, I’ve created this simple tiny tool to help me learn and verify regular expressions against my input data. Nothing fancy, but it might help someone out there. For example, it took me [ READ MORE ]
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 10 other followers
Get every new post delivered to your Inbox.