Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

c# question

Featured Replies

So a small bad start of the Book of not replying where to use c# script.

 

I wonder where can I use the c# script and have a view of it's strings.

Can I also just view it in Google Chrome?

 

c++ is a program language addition that I want to learn.

  • Author

Well the questions are.

In what format must I save the files and what which program can I open it?

"Can I even open it with Google Chrome?

I used Microsoft's Visual Web Developer Express (here), but .cs files are text files so you can use any text editor. I believe Notepad++ has syntax highlighting for C#.

 

[Edit]

 

If you just want to try C# (not web related) you can also try Visual C# Express (here), you can create and run simple console applications with it.

Edited by Anonimista

  • Author

@t Ano,

 

It's basically part for the web programming:)

 

It's currently installin web platform from viasual web devolper expres 2010.

  • Author

Hey I´m trying to install the program for some reason it didn´t launched the program.

I removed the program related to visual c.

 

Now I tried to install it again "vcs.web" but I'm getting this error.

Visual Studio setup cannot run in compatibility mode.

For more information see the installing section on "".

 

I know I started windows up normally and not in some kind of other mode.

 

Maby you know ow to solve this matter?

  • Author

Alright, I have fully installed the file and I can open and edit the .cs file.

 

But how do I see the output of the file?

I googled around with no luck..

 

Also if I save it as a .exe file it give me an error;

The version of this file is not compatible with the windows-versions.

Check the system information if u use a x86(32-bits) or x64(64 bits)

  • Author

At sash, no i dont. The book i currently got is about mainly c#.

Anyway I got,the program to run and I can creaye and edit the .cs files.

I just need to know how to execute it.

At sash, no i dont. The book i currently got is about mainly c#.

Anyway I got,the program to run and I can creaye and edit the .cs files.

I just need to know how to execute it.

 

Most of the time Visual Web Developer expects you to create a new project or a web site, (File | New Project ... or File | New Web Site ...) This creates a basic template project for you (similar to NetBeans) and you can immediately test it (Debug | Start Debugging). There is a walkthrough here.

 

You can also test individual .aspx pages when no project is open by right clicking the page in Visual Studio and selecting 'View in Browser'. I'm not sure about .cs files, I don't think you can run them if they are standalone.

 

If you create a new web site you can see what folders and files are created for you in 'Solution Explorer' (View | Other Windows | Solution Explorer). Every .aspx file has a corresponding .cs file and that is where you put your c# code (like Default.aspx -> Default.aspx.cs etc).

 

The process is like this: Open a .aspx file from the Solution Explorer in design mode (right click the file in Solution Explorer | View Designer), add a ASP.Net control (like a Button) from the toolbox (View | Other Windows | ToolBox) to the page, double click the control which opens the .cs file for you so you can add the C# code to be executed when the button is clicked.

 

That's about as far as my experience goes, maybe try going through some other walkthroughs on MSDN.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.