Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cost for .Net
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00609123
Message ID:
00618060
Vues:
21
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform