Is C# syntax same in France and America?
490679
i guess so. i live in indonesia. we here don't speak english. but we use english as language for writing syntax in C. i think when it comes to programme or something, it's global. the syntax are the same, unless they are making the french version of C#
1079476
The two calls use structures called localtime and localtime_s. They  have different storage sizes.  The compiler is simply telling you that 5 bytes are being put in a 4 byte space, you'll loose data, for example.  Try looking up the time function that you are using and see if there is a secure version from the Win32s (as opposed to Win32) API.  I'd bet there is and you'll need to use it in place of what you have now.  This happens a lot, older code examples sometimes use the Win32 functions instead of the Win32 API current versions as a minimum.  The secure versions are required by Windows 2000, Windows 2003 and of course, Windows XP.  Whether you are writing this yourself or the older calls are still in your library and headers paths, this can hold you up until you find and set things right.
712040
Copy and paste this...I made this and Hope it helps...It does not contain everything...but alot of stuff...\n\n(Go to View/Code)(Expand (+) the Region button(#Region " Windows Form Designer generated code "))\n(The third tree hash down (-) were is says ('Required by the Windows Form Designer\n    Private components As System.ComponentModel.IContainer\n\n    'NOTE: The following procedure is required by the Windows Form Designer\n    'It can be modified using the Windows Form Designer.  \n    'Do not modify it using the code editor.) Copy and paste under ththere untill you hit ("End Class") \nhope this helps.\n\n===========================================\n\n Friend WithEvents Label1 As System.Windows.Forms.Label\n    Friend WithEvents Panel2 As System.Windows.Forms.Panel\n    Friend WithEvents BtnCheck As System.Windows.Forms.Button\n    Friend WithEvents txtCheckNum As System.Windows.Forms.TextBox\n    Friend WithEvents lblCheck As System.Windows.Forms.Label\n    Friend WithEvents Panel3 As System.Windows.Forms.Panel\n    Friend WithEvents Label2 As System.Windows.Forms.Label\n    Friend WithEvents txtChange As System.Windows.Forms.TextBox\n    Friend WithEvents txtChanged As System.Windows.Forms.TextBox\n    Friend WithEvents btnChange As System.Windows.Forms.Button\n    Friend WithEvents txtFinal As System.Windows.Forms.TextBox\n    Friend WithEvents txtFinal2 As System.Windows.Forms.TextBox\n    Friend WithEvents btnChange2 As System.Windows.Forms.Button\n    Friend WithEvents txtChanged2 As System.Windows.Forms.TextBox\n    Friend WithEvents txtChange1 As System.Windows.Forms.TextBox\n    Friend WithEvents Label3 As System.Windows.Forms.Label\n    Friend WithEvents Label4 As System.Windows.Forms.Label\n    Friend WithEvents Label5 As System.Windows.Forms.Label\n    Friend WithEvents TabControl1 As System.Windows.Forms.TabControl\n    Friend WithEvents IfThen As System.Windows.Forms.TabPage\n    Friend WithEvents IfThenTwo As System.Windows.Forms.TabPage\n    Friend WithEvents Label6 As System.Windows.Forms.Label\n    Friend WithEvents Data As System.Windows.Forms.TabPage\n    Friend WithEvents btnTwo As System.Windows.Forms.Button\n    Friend WithEvents btnSwap As System.Windows.Forms.Button\n    Friend WithEvents btnOne As System.Windows.Forms.Button\n    Friend WithEvents txtTwo As System.Windows.Forms.TextBox\n    Friend WithEvents txtOne As System.Windows.Forms.TextBox\n    Friend WithEvents Panel1 As System.Windows.Forms.Panel\n    Friend WithEvents tabBoolean As System.Windows.Forms.TabPage\n    Friend WithEvents Label7 As System.Windows.Forms.Label\n    Friend WithEvents Panel4 As System.Windows.Forms.Panel\n    Friend WithEvents txtBoolean As System.Windows.Forms.TextBox\n    Friend WithEvents btnBoolean As System.Windows.Forms.Button\n    Friend WithEvents Label8 As System.Windows.Forms.Label\n    Friend WithEvents Label9 As System.Windows.Forms.Label\n    Friend WithEvents tabInputBox As System.Windows.Forms.TabPage\n    Friend WithEvents tabMessageBox As System.Windows.Forms.TabPage\n    Friend WithEvents btnInputBox1 As System.Windows.Forms.Button\n    Friend WithEvents Label10 As System.Windows.Forms.Label\n    Friend WithEvents Button1 As System.Windows.Forms.Button\n    Friend WithEvents Label11 As System.Windows.Forms.Label\n    Friend WithEvents Button2 As System.Windows.Forms.Button\n    Friend WithEvents tabStrings As System.Windows.Forms.TabPage\n    Friend WithEvents Label13 As System.Windows.Forms.Label\n    Friend WithEvents lblInputBox As System.Windows.Forms.Label\n    Friend WithEvents tabDo As System.Windows.Forms.TabPage\n    Friend WithEvents Button6 As System.Windows.Forms.Button\n    Friend WithEvents Button7 As System.Windows.Forms.Button\n    Friend WithEvents btnFor As System.Windows.Forms.Button\n    Friend WithEvents tabCase As System.Windows.Forms.TabPage\n    Friend WithEvents btnCase1 As System.Windows.Forms.Button\n    Friend WithEvents lblCase1 A
68252
Manish it hardly matters if you choose either of them. Finally the code is compiled into IL which is the intermediatory language. If you are comfortable with VB U go for VB.NET if your background is C/C++ go for C#.NET. My personal opinion is VB.NET is much easier to work with.
45641
google it as: c# interview question\n\neg.\nhttp://blogs.crsw.com/mark/articles/252.aspx
764699
Briefly, it is about the same kind of difference as between chinese and korean...\nBoth use letters, and are understood by computers. But the syntax, lexic and vocabularies are different.\nHelps?\n\nBTW, one being "oops", and the other one not is really bull... Create a struct in "C", shove some pointers to functions into it, and enjoy your very own "object".\nNow, create another struct, with the previous one as the first field - and you have just discovered inheritance. Cast a pointer to the second one into a pointer to the first - and that is your polymorphism.\n\nAnother myth is that C++ is a "superset of C" or that you can compile a C program with a C++ compiler, or that C is "C++ without classes". This is not true. They look somewhat similar to a human eye, but formally are totally different laguages.\nYou could, probably, come up with some fairly simple C program, that can be compiled with C++, just like some Spanish words (and even sentenses) are also valid in French, but in general that is not true.\nFunction pointers are not compatible with void*, or with each other. Integers are not compatible with pointers, and are not assumed by default, you can't skip a type declaration etc, etc.\n\nAnd finally, no, "C" is not faster than "C++" on any sane system.
321167
.NET is kind of a translator - it's an effort to let people program in a variety of different languages, which then gets compiled into an intermediate language, when then gets compiled again into your machine's language.  It's sort of a lingua-franca translator.  Instead of having to have all these languages (VC#, VC++, VB, VJ++, etc) have to have their own compilers, they get translated by the same compiler into an intermediary language, which then gets translated again.  A bit slower in the long run and not quite as flexible, but it's still kind of a cool concept.
382913
XML is the newest but all .net language are mostly new\nlike C#,vb.net,all .net framework
86046
I can tell you what you do in the Microsoft world. \n\nWhen you build  a program using MFC/DevStudio, you can create a separate resource only DLL that has the strings for all your messages in it. You build one with the messages in English and one in Hindi. Your installer code will have to allow the user to select the language and then coyp the correct version of the DLL into the install directory.\n\n\nIn your main program code, instead of coding a literal, (something of the form "This is a string.") you instatiante a CString and load it from the resource table.\n\nThe code looks something like this:\n\nCString strMessage;\n\nstrMessage.LoadString(resourceID);\n\nAfxMessageBox(strMessage);\n\nThe other thing that you have to remember to do is to build all of your code using the _UNICODE compiler flag. That way the compiler will use two byte wide characters for all of your CStrings.\n\nYou can check on Microsoft's web site for more information on this. Search under the topic "Internationalization".
794890
language should have never been used for specifying JS vs VB or setting versions.\n\ntype is correct... language worked, but does not validate and is just OLD!
654004
C# is still going to be around. F# is a functional language and will probably take over where vbscript left off when it comes to windows scripting. but C# is an Object Oriented language. Your comparing apples and oranges man.
883227
No, the VB6 format differs greatly from VB.NET files. If you look closely at the source codes, the makeup is quite different. Also, in VB.NET, the source code and project files are saved into different locales, and cannot be read by one another. SInce you already typed up your source code, it'd be wise just to translate it from VB6 to VB.NET. It should be very difficult because they only have few differences.
1038573
Not at all. Some may say it would be a benefit, but really the differences between the three languages would probably confuse you trying to learning VB .NET.\n\nI began programming C in 1982, then C++ in 1987. Now C# .Net and VB .Net are what I primarily use. Between the three, VB is a breeze. Focus on just learning the VB language, then the .NET part if you can. The VB structure is really what you need to have down before moving onto .NET.\n\nHope this helps.
963773
It is done in C/C++. U can check that out in any of the windows programming books.
679869
.NET is a technology framework. Programmers can use one of the following languages to develop programs for the .NET framework:\n\nVB.NET\nASP.NET\nC#.NET\n\nAmongst these languages the architecture of .NET is common, but the coding language and some techniques are different between the languages. So if some one tells you they are .NET experts you should ask them which language they are most familiar with as well.
527334
First, it helps to get a background on the language.  Inside C# by Tom Archer (Microsoft Press publishing) will give you a good background.\n\nNext, you will need to get the compiler.  You can either get the Visual Studio 2005 Express Edition (for free) from Microsoft's MSDN Website or, alternatively, you can get the .NET Framework SDK (which comes with the compilers) and use an alternate IDE, such as SharpDevelop.\n\nThe .NET Framework SDK comes with several pieces of sample code that demonstrate the various .NET APIs and technologies.  Also, you can download the 101 Code Samples for C# from Microsoft's MSDN site.\n\nWhen you have questions, you can visit the other community sites to post questions, look for user samples and articles, etc.  I've include the links to all below:
172063
http://www.thefreecountry.com/compilers/cpp.shtml