Do you have code Question in C#.NET?

Posted on May 29, 2008. Filed under: .net, c# | Tags: , , |

We all come across problems/difficulties while coding and we want an immediate answer to them. You can post your code related questions here, I will try to answer them, while I don’t promise an immediate attention, I will still try to provide you an acceptable answer with in a reasonable time.
Thank you for visiting my [...]

Read Full Post | Make a Comment ( None so far )

What’s new in C# 2008

Posted on May 27, 2008. Filed under: .net, c# | Tags: , , , , |

The all new C# 2008 is here and this is what it offers:
1. Implicitly Typed Local Variables and Arrays:
How? by the use of var keyword.
So now you can declare a variable like
var a = “Sunil”;
The good thing is as soon as this is initialized at runtime the compiler will infer its type from the value [...]

Read Full Post | Make a Comment ( None so far )

XML with XPath in C# (handling apostrophe (‘) character)

Posted on May 27, 2008. Filed under: XML | Tags: , , , , |

The other day I was coding in C# to get a XML node based on its attributes value:
string sUser = “U1″;
XmlNode xnUser =
xmlDocument.SelectSingleNode(“tm:TM/tm:Admin/tm:User[@ID='" + sUser + "']“, TMNamespaceManager);
Now the good thing is it works in most cases but as soon as the sUser contains an apostrophe character the above code fails.
So I decided to do [...]

Read Full Post | Make a Comment ( None so far )

.NET 3.0 Workflow foundation

Posted on February 25, 2008. Filed under: workflow | Tags: , , , , , , |

Recently I got a chance to work on Workflow foundation in .NET 3.0. Initially I was excited about working on the new technology, but it didn’t last long. My client praises .NET for front end but when it comes to back end all he says is, if .NET is best in front end, Oracle is [...]

Read Full Post | Make a Comment ( None so far )

Liked it here?
Why not try sites on the blogroll...