Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1010919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T09:09:24+00:00 2026-05-16T09:09:24+00:00

First off, I know this may be a very stupid question, so don’t shoot

  • 0

First off, I know this may be a very stupid question, so don’t shoot me for asking it.

I come from C++ background, and I love C++ to death, but now that I’ve been using C# for a while, I’ve grown to love C#. BUT, I miss the coding style of C++ and sometimes wish I could go back, but C# is just so time-saving now compared to C++ that I don’t think I could go back.

My point is, is there a way to code in C# that would make me feel like I’m actually writing C++ code? I guess what I mean is, can I write unmanaged code in C# without breaking things?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T09:09:24+00:00Added an answer on May 16, 2026 at 9:09 am

    Maybe you would like C++/Cli instead of C#:

    http://en.wikipedia.org/wiki/C%2B%2B/CLI

    It is not good style to use unsafe (pointers etc.) code, if that is want you mean, in C# unless it is strictly necessary.

    Unsafe code examples:

    http://msdn.microsoft.com/en-us/library/aa288474(VS.71).aspx

    As you can see, objects have to be fixed at a memory location when using pointers which can lead to bad performance for the GC.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First off, this question is ripped out from this question. I did it because
First off, let me start by saying, I know this exact question has been
First off, there's a bit of background to this issue available on my blog:
my question seems simple and stupid but first read this, suppose you have a
First off I know this has been covered on SO. But the most popular
First off, I know next to nothing about language theory, and I barely know
First, I know there are methods off of the generic List<> class already in
Just a very general question, that not only applies to this example. Let's say
I know that daemons run in the background mostly i.e. they require very less
First off, I am using Windows XP. I have multiple hard drives and it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.