tagged [c#]
Should I use Managed C++ or C# for my application?
Should I use Managed C++ or C# for my application? If you had to decide between C# and Managed C++, which would you choose and why? Are there benefits of Managed C++ over C#? Which language do you pre...
- Modified
- 9 Mar at 21:0
What does void mean in C, C++, and C#?
What does void mean in C, C++, and C#? Looking to get the fundamentals on where the term "" comes from, and why it is called void. The intention of the question is to assist someone who has no C exper...
- Modified
- 28 May at 17:23
Multiassignment in VB like in C-Style languages
Multiassignment in VB like in C-Style languages Is there a way to perform this in VB.NET like in the C-Style languages:
- Modified
- 22 Feb at 16:3
How to unset a specific bit in an integer
How to unset a specific bit in an integer Say, I have a integer like `10101`, I would like to unset the third bit to get `10001`; if I have `10001`, I will still get `10001`; how can I achieve it?
List of new features in C# 2.0, 3.0 and 4.0
List of new features in C# 2.0, 3.0 and 4.0 I worked on the .NET 1.1 project for a long time, and I was stuck at C# 1.0 and now I would like to catch up with the latest and greatest. Google returned a...
C/C++ line number
C/C++ line number In the sake of debugging purposes, can I get the line number in /C++ compilers? (standard way or specific ways for certain compilers) e.g
- Modified
- 24 Feb at 17:33
Using C# dll in C++ code
Using C# dll in C++ code I need to integrate this [C# dll](http://sharpbox.codeplex.com/) in my C++ code. I want to call some functions written in C# from dll and the rest of code write in C++. What i...
- Modified
- 2 Oct at 18:22
What is The Rule of Three?
What is The Rule of Three? - - - -
- Modified
- 26 May at 12:7
Debug vs Release in CMake
Debug vs Release in CMake In a GCC compiled project, - - - `g++``gcc`
C++ equivalent of C#'s internal
C++ equivalent of C#'s internal I am trying to backport some code from C# to C++ to get around an annoying problem, and what like to ask if anyone knows what the equivalent of C#'s 'internal' would be...
- Modified
- 5 Dec at 11:54
What does "dereferencing" a pointer mean?
What does "dereferencing" a pointer mean? Please include an example with the explanation.
- Modified
- 20 Jun at 12:37
C/C++ source code visualization?
C/C++ source code visualization? Basically I want tools which generate source code visualization like: - - -
- Modified
- 21 Dec at 03:26
What is void* in C#?
What is void* in C#? I'm looking through the source of a VC++ 6.00 program.i need convert this source to C# but i can not understand what is (void*) in this example? in this code imagedata is a pointe...
- Modified
- 20 Mar at 15:39
Do you recommend Native C++ to C++\CLI shift?
Do you recommend Native C++ to C++\CLI shift? I have been working as a native C++ programmer for last few years. Now we are starting a new project from the scratch. So what is your thoughts on shiftin...
What is the difference between const int*, const int * const, and int const *?
What is the difference between const int*, const int * const, and int const *? I always mess up how to use `const int*`, `const int * const`, and `int const *` correctly. Is there a set of rules defin...
What does the explicit keyword mean?
What does the explicit keyword mean? What does the `explicit` keyword mean in C++?
- Modified
- 24 Jan at 22:44
What is object slicing?
What is object slicing? In c++ what is object slicing and when does it occur?
- Modified
- 5 Apr at 11:10
Optional Output Parameters
Optional Output Parameters In C# 4, is there a good way to have an optional output parameter?
static readonly field initializer vs static constructor initialization
static readonly field initializer vs static constructor initialization Below are two different ways to initialize static readonly fields. Is there a difference between the two approaches? If yes, when...
- Modified
- 26 Oct at 13:52
C++ preprocessor __VA_ARGS__ number of arguments
C++ preprocessor __VA_ARGS__ number of arguments Simple question for which I could not find answer on the net. In variadic argument macros, how to find the number of arguments? I am okay with boost pr...
- Modified
- 31 May at 00:36
TryParse with out var param
TryParse with out var param A new feature in C# 6.0 allows to declare variable inside TryParse method. I have some code: But I receive compile errors: [](https://i.stack.imgur.com/BYZ6Z.png) What I am...
Why can't I define a bit in c#?
Why can't I define a bit in c#? Why isn't there a bit structure in C#?