Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem visual studio code
Message
De
15/03/2022 09:08:51
 
 
À
15/03/2022 08:13:35
Information générale
Forum:
C#
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01683863
Message ID:
01683865
Vues:
40
Hi Bill,

I didn't have it

Now I have code that looks like this

using system;
Console.WriteLine("Veuillez saisir votre prénom.");
string prenom = console.readline();
console.writeline("Veuillez saisir votre age.");
string age = console.readline();
console.WriteLine("Bonjour " + prenom + ", vous avez " + age + " ans.");


>>Hello all,
>>
>>I am beginning to learn C# with video classes.
>>
>>Weird thing happening. Some times (rarely) intelllisense kicks in. Then I'm allowed to add lines of code and then execute afterwards.
>>
>>I can't enter "Console.writeline" for example because intellisense doesn't show me the rest of what is available.
>>
>>So I entered the lines of code even if intellisense doesn't seem to be active thinking that the code should execute.
>>
>>When I try a "dotnet run" I have many errors. Of those errors there is one saying "Console" doesn't exist in the actual context.
>>
>>I have the Omnisharp extension installed.
>
>Does your code include:
>using System;
>?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform