Sudheer Kumar

ASP.Net, C#, BizTalk, MSBuild, WPF, WCF, WF....
posts - 28, comments - 111, trackbacks - 16

My Links

News



Archives

Post Categories

September 2010 Entries

.Net 4.0
C #4.0 has been here for a while and it has got many interesting features. 1. dynamic keyword: It represents an object that will be resolved at run time. For example, assume that you have 2 different classes that have the same signature. Then you can have a method like this. private void TestMethod(object myObject) { string name = myObject.Name; string address = myObjec.Address; } Now you can pass any object that has the same interface to the TestMethod(). This is some thing which is not possible...

Posted On Tuesday, September 07, 2010 5:00 AM | Feedback (0) |

Powered by: