Author Topic: How do I create a .cs file?  (Read 5305 times)

Offline zjn12385

  • Single posting newcomer
  • *
  • Posts: 2
How do I create a .cs file?
« on: December 09, 2015, 11:36:23 pm »
I am a complete beginner to coding. I have no prior experience with C++. I am watching a tutorial for beginners on youtube created by ProgrammingKnowledge. I'm on his third tutorial for beginners, and am trying to follow along with Code::Blocks, but he doesn't explain how to create or what even his MyExamples.cs file is. Can someone please explain to me the steps to create this source file?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How do I create a .cs file?
« Reply #1 on: December 10, 2015, 12:44:09 am »
So your watching a c# tutorial and want to apply the material to c++?
You can create the file in File -> New -> File, but C::B is not a C# IDE, it is a C++ IDE which is totally different language, so you won't be able to compile your C# code in it!
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline zjn12385

  • Single posting newcomer
  • *
  • Posts: 2
Re: How do I create a .cs file?
« Reply #2 on: December 10, 2015, 03:22:04 pm »
I'm an idiot. I didn't read the description on the video. Thank you for pointing out the C# instead of C++. Like I said, total beginner to this stuff.