Click here to Skip to main content
16,016,580 members
Home / Discussions / C#
   

C#

 
AnswerRe: Disassembly cannot be displayed. The expression has not yet been translated to native machine code. Pin
Mark Churchill24-Feb-09 14:07
Mark Churchill24-Feb-09 14:07 
QuestionProblem with multiple insert via TransactionScope class. Pin
hdv21224-Feb-09 10:58
hdv21224-Feb-09 10:58 
AnswerRe: Problem with multiple insert via TransactionScope class. Pin
Jon Rista24-Feb-09 12:35
Jon Rista24-Feb-09 12:35 
QuestionC# alias Pin
Bill Stumps24-Feb-09 10:05
Bill Stumps24-Feb-09 10:05 
AnswerRe: C# alias Pin
Pete O'Hanlon24-Feb-09 10:10
mvePete O'Hanlon24-Feb-09 10:10 
GeneralRe: C# alias Pin
PIEBALDconsult24-Feb-09 10:31
mvePIEBALDconsult24-Feb-09 10:31 
GeneralRe: C# alias Pin
Pete O'Hanlon24-Feb-09 10:49
mvePete O'Hanlon24-Feb-09 10:49 
GeneralRe: C# alias Pin
PIEBALDconsult24-Feb-09 10:56
mvePIEBALDconsult24-Feb-09 10:56 
Of course, just as in C like he asked:

C:\>type test.h
using System ;

C:\>type test.cs

# include "test.h"

namespace Template
{
    public static class Template
    {
        [STAThreadAttribute()]
        public static void
        Main
        (
        )
        {
            Console.WriteLine ( "It works" ) ;
        }
    }
}

C:\>"C:\Program files\mingw\bin\cpp" -P -C -w test.cs test.csi

C:\>csc test.csi
Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.


C:\>test
It works

C:\>


Big Grin | :-D
GeneralRe: C# alias Pin
Pete O'Hanlon24-Feb-09 11:07
mvePete O'Hanlon24-Feb-09 11:07 
GeneralRe: C# alias Pin
PIEBALDconsult24-Feb-09 12:55
mvePIEBALDconsult24-Feb-09 12:55 
GeneralRe: C# alias Pin
_Maxxx_24-Feb-09 16:00
professional_Maxxx_24-Feb-09 16:00 
GeneralRe: C# alias Pin
PIEBALDconsult24-Feb-09 16:42
mvePIEBALDconsult24-Feb-09 16:42 
GeneralRe: C# alias Pin
_Maxxx_24-Feb-09 21:23
professional_Maxxx_24-Feb-09 21:23 
GeneralRe: C# alias Pin
Pete O'Hanlon24-Feb-09 21:46
mvePete O'Hanlon24-Feb-09 21:46 
GeneralRe: C# alias Pin
_Maxxx_24-Feb-09 22:54
professional_Maxxx_24-Feb-09 22:54 
GeneralRe: C# alias Pin
Jon Rista24-Feb-09 12:41
Jon Rista24-Feb-09 12:41 
GeneralRe: C# alias Pin
PIEBALDconsult24-Feb-09 12:53
mvePIEBALDconsult24-Feb-09 12:53 
GeneralRe: C# alias Pin
Jon Rista24-Feb-09 17:06
Jon Rista24-Feb-09 17:06 
GeneralRe: C# alias Pin
PIEBALDconsult24-Feb-09 17:13
mvePIEBALDconsult24-Feb-09 17:13 
GeneralRe: C# alias Pin
PIEBALDconsult24-Feb-09 18:35
mvePIEBALDconsult24-Feb-09 18:35 
GeneralRe: C# alias Pin
Bill Stumps25-Feb-09 20:42
Bill Stumps25-Feb-09 20:42 
AnswerRe: C# alias Pin
PIEBALDconsult24-Feb-09 10:35
mvePIEBALDconsult24-Feb-09 10:35 
QuestionInvoke and InvokeRequired in dll Pin
Member 471395924-Feb-09 9:40
Member 471395924-Feb-09 9:40 
AnswerRe: Invoke and InvokeRequired in dll Pin
harold aptroot24-Feb-09 9:57
harold aptroot24-Feb-09 9:57 
AnswerRe: Invoke and InvokeRequired in dll Pin
Alan N24-Feb-09 14:22
Alan N24-Feb-09 14:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.