Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running code samples from Internet
Message
De
12/12/2007 12:51:07
Irv Adams
MSC Managed Care, Inc.
Floride, États-Unis
 
 
À
26/11/2007 13:45:16
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01271279
Message ID:
01275174
Vues:
7
>>To All:
>>
>>I often see complete, self-contained code samples on the Internet for C# .NET programs. What type of Project/File do I have to create within VS to be able to copy/paste/compile/run these code samples?
>>
>>It seems the projects and files I can create are too specific for my needs. I just want something like a generic code container, such as the PRG file in FoxPro.
>>
>>Thanks for your help,
>
>If they're just .cs files that can be run by themselves, then don't use VS to play with them. Get a text editor and do the compiles by command line. I also find that projects are overkill for some testing. In those sorts of situations, I use UltraEdit and I compile and run .cs files using macros. Works very nicely.

Alan,

I tried copying/pasting code examples into VS C# class files so I could see the syntax coloring and use intellisense. The examples run fine, and I can add code and re-compile, etc., but I'm having some problem getting intelliense to work.

Do you have to create a solution or project in order to hook up intellisense? I don't want all the overhead if I can help it.

Thanks,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform