not working?

Dessauvages Cathy 20 Reputation points


I'm following the tutorial and link to from page isn't working.

This question is related to the following Learning Module

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
9 questions
{count} votes

Accepted answer
  1. Pradeep M 1,715 Reputation points Microsoft Vendor

    Hi Dessauvages Cathy,

    Thank you for reaching out to Microsoft Q & A forum.   

    It looks like the Try .NET editor is already including some hidden code, which is why you're seeing errors when adding the "using System;" statement and the "public class Program" declaration. Try using only the following portion of the code in the editor:


    This is because the Try .NET environment already handles the necessary setup behind the scenes. Here's a step-by-step guide:

    Clear the editor: Remove any existing code in the Try .NET editor.

    Enter the simplified code: Use only the Console.WriteLine("Hello world!"); line.

    Run the code: Click the green Run button.

    This should resolve the errors you're encountering. If the issue persists, try refreshing your browser or using a different browser to see if that resolves the problem.

    Please feel free to contact us if you have any additional questions.  

    If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.    

    Thank you.    

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful