Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cost for .Net
Message
De
10/02/2002 18:29:26
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00609123
Message ID:
00618113
Vues:
20
Just curious... have you seem Kamel Patel's efforts to rewrite VFP functions in C#?

>Hi David..
>
>This is a pretty cool example, thanks for posting this.
>
>
>
>>>Take a look at VB's vast function list for example. Yes you can duplicate all 162 functions using C# but look at all of the code you would have to write to do it. Having these functions available saves the developer a lot of coding.
>>
>>
>>You don't need to duplicate anything. All of VB's vast function list is available to any .NET application in the Microsoft.VisualBasic namespace. Consider this C# app:
>>
>>
>>using System;
>>using Microsoft.VisualBasic;
>>
>>namespace ConsoleApplication1
>>{
>>	class Class1
>>	{
>>		[STAThread]
>>		static void Main(string[] args)
>>		{
>>			String mystring = "This is a string";
>>			Console.Write(Strings.UCase(mystring));
>>			Console.ReadLine();
>>		}
>>	}
>>}
>>
>>
>>
>>-Dave
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform