http://msdn.microsoft.com/en-us/library/ms127413.aspx
After rereading some of your posts it seams like a better understanding of what .net really is is what is needed for you to find an answer to your question. The DateDiff method that is contained in Microsoft.VisualBasic is not a visual basic method, nor is it a C# method. It is a .net method contained in a .net library. It was created to give programmers who use a language other than VB some of the functionality that is included in VB as part of the runtime. May I suggest reading the wikipedia articles on CLR and CLI:
Common_Language_Runtime
Common_Language_Infrastructure
These, along with the description at the top of this page (List_of_CLI_languages ) which I found useful, should help you solve your problem.
If you are still unsatisifed, then you can always continue along the line of my previous post and just pull Microsofts source code out of Microsoft.VisualBasic.dll and insert it into your own C# code.
http://forums.asp.net/t/1107932.aspx
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/81806efe-f565-4444-8b94-f3332d29efc6/
No comments:
Post a Comment