{"id":4573,"date":"2016-01-13T15:26:28","date_gmt":"2016-01-13T15:26:28","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=4573"},"modified":"2018-10-26T19:41:23","modified_gmt":"2018-10-26T19:41:23","slug":"c-and-net-c-sharp-and-dotnet","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=4573","title":{"rendered":"C# and .NET (C sharp and dotNET)"},"content":{"rendered":"<p><a href=\"https:\/\/de.wikipedia.org\/wiki\/C-Sharp\">C-Sharp \/ C#<\/a><br \/>\n<a href=\"https:\/\/de.wikipedia.org\/wiki\/.NET_Compiler_Platform\">.NET Compiler Platform<\/a>, Compiler f\u00fcr die .NET-Programmiersprachen C# und Visual Basic .NET<br \/>\n<a href=\"https:\/\/docs.microsoft.com\/en-us\/dotnet\/csharp\/roslyn-sdk\/\">The .NET Compiler Platform SDK<\/a><br \/>\n<a href=\"https:\/\/docs.microsoft.com\/de-de\/dotnet\/csharp\/roslyn-sdk\/\">.NET Compiler Platform-SDK<\/a><br \/>\n<a href=\"https:\/\/github.com\/dotnet\/roslyn\">github.com\/dotnet\/roslyn<\/a>, The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs<\/p>\n<h3>CSC in Windows Path<\/h3>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=QR9xXDYKOuA\">How to create and run C# program using CMD<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&gt; set path=%path%;C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\r\n&gt; \r\n<\/pre>\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/uwp\/devices-sensors\/gatt-client\">Bluetooth GATT Client<\/a><br \/>\n<a href=\"https:\/\/de.wikipedia.org\/wiki\/Extensible_Application_Markup_Language\">Extensible Application Markup Language (XAML)<\/a><br \/>\n<a href=\"https:\/\/de.wikipedia.org\/wiki\/Universal_Windows_Platform\">Universal Windows Platform (UWP)<\/a><\/p>\n<h3>Proprietary<\/h3>\n<p><a href=\"https:\/\/www.visualstudio.com\/en-US\/products\/visual-studio-express-vs\">Visual Studio Express<\/a> or shortcut: <a href=\"http:\/\/www.microsoft.com\/express\/vcsharp\/\">Visual Studio Express<\/a><br \/>\n<a href=\"https:\/\/www.visualstudio.com\/en-us\/products\/vs-2015-product-editions.aspx\">Visual Studio Editions<\/a><br \/>\n<a href=\"http:\/\/www.icsharpcode.net\/OpenSource\/SD\/Download\/\">ic#code SharpDevelop<\/a><br \/>\n<a href=\"http:\/\/howto-install.org\/free-c-csharp-compiler-for-windows-7-and-windows-8-microsoft-visual-studio-alternative\/\">Free C# (csharp) compiler for Windows 7 and Windows 8 (Microsoft Visual Studio Alternative) <\/a><\/p>\n<h3>Open Source<\/h3>\n<p><a href=\"http:\/\/www.mono-project.com\/\">Mono Project<\/a><\/p>\n<h3>.NET<\/h3>\n<p><a href=\"https:\/\/de.wikipedia.org\/wiki\/.NET_Framework\">.NET Framework<\/a><br \/>\n<a href=\"https:\/\/de.wikipedia.org\/wiki\/Common_Language_Runtime\">Common Language Runtime<\/a><br \/>\n<a href=\"http:\/\/stackoverflow.com\/questions\/1366503\/best-way-to-check-if-a-dll-file-is-a-clr-assembly-in-c-sharp\">Best way to check if a DLL file is a CLR assembly in C#<\/a><\/p>\n<h3>Einfache Typen<\/h3>\n<p><a href=\"http:\/\/stackoverflow.com\/questions\/62503\/c-int-or-int32-should-i-care\">C#, int or Int32? Should I care?<\/a><br \/>\n<a href=\"http:\/\/stackoverflow.com\/questions\/6093239\/difference-between-int-and-systemint32\">Difference between int and System::Int32<\/a><br \/>\n<a href=\"http:\/\/stackoverflow.com\/questions\/1165761\/decimal-vs-double-which-one-should-i-use-and-when\">ecimal vs double! &#8211; Which one should I use and when?<\/a><br \/>\n<a href=\"http:\/\/stackoverflow.com\/questions\/943398\/get-int-value-from-enum\">Get int value from enum<\/a><br \/>\n<a href=\"http:\/\/stackoverflow.com\/questions\/29482\/cast-int-to-enum-in-c-sharp\">Cast int to enum in C#<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nString:\r\nYourEnum foo = (YourEnum) Enum.Parse(typeof(YourEnum), yourString);\r\n\r\nint:\r\nYourEnum foo = (YourEnum)yourInt;\r\n\r\nGeneral Number:\r\nYourEnum foo = (YourEnum)Enum.ToObject(typeof(YourEnum) , yourInt);\r\n<\/pre>\n<p><a href=\"http:\/\/stackoverflow.com\/questions\/908543\/how-to-convert-from-system-enum-to-base-integer\">How to convert from System.Enum to base integer?<\/a><br \/>\n<a href=\"http:\/\/stackoverflow.com\/questions\/479410\/enum-tostring-with-user-friendly-strings\">Enum ToString with user friendly strings<\/a><br \/>\n<a href=\"http:\/\/stackoverflow.com\/questions\/3120436\/enum-value-to-string\">Enum value to string<\/a><\/p>\n<h3>Bluetooth<\/h3>\n<p><a href=\"https:\/\/www.btframework.com\/ble.htm\">Bluetooth Framework and Bluetooth Low Energy GATT<\/a><br \/>\n<a href=\"https:\/\/github.com\/Microsoft\/Windows-universal-samples\">github.com\/Microsoft\/Windows-universal-samples<\/a>, API samples for the Universal Windows Platform<br \/>\n<a href=\"https:\/\/github.com\/Microsoft\/Windows-universal-samples\/tree\/master\/Samples\/BluetoothLE\">github.com\/Microsoft\/Windows-universal-samples\/tree\/master\/Samples\/BluetoothLE<\/a><\/p>\n<h3>Microsoft&#8217;s DataGridView<\/h3>\n<p><a href=\"http:\/\/stackoverflow.com\/questions\/1131196\/c-is-there-a-jtable-equivalent\">#: is there a JTable equivalent?<\/a><br \/>\n<a href=\"http:\/\/stackoverflow.com\/questions\/1042618\/how-to-create-a-datatable-in-c-sharp-and-how-to-add-rows\">How to create a DataTable in C# and how to add rows?<\/a><br \/>\n<a href=\"http:\/\/solibnis.blogspot.ch\/2013\/02\/connecting-mysql-table-to-datagridview.html\"><\/a><\/p>\n<h3>Mono&#8217;s DataGridView<\/h3>\n<p>Mono is not 100% compatible with Windows .NET: example DataGridView!<\/p>\n<p><a href=\"https:\/\/bugzilla.xamarin.com\/show_bug.cgi?id=9653\">Bug 9653 &#8211; DataGridView after one cell is edited crashes when selecting a second cell<\/a><br \/>\n<a href=\"https:\/\/github.com\/mono\/mono\/pull\/1486\">Fix for issues 9653, 22297 #1486<\/a><br \/>\n<a href=\"http:\/\/stackoverflow.com\/questions\/34817944\/datagridview-with-icustomtypedescriptor-looks-empty-on-mono\">DataGridView with ICustomTypeDescriptor looks empty on Mono<\/a><br \/>\n<a href=\"https:\/\/gist.github.com\/hackedd\/d088cd5a32d21964776e\">DataGridView and ICustomTypeDescriptor<\/a><\/p>\n<h4>Alternative: GTK<\/h4>\n<p><a href=\"http:\/\/www.mono-project.com\/docs\/gui\/gtksharp\/widgets\/nodeview-tutorial\/\">GtkSharpNodeViewTutorial<\/a><br \/>\n<a href=\"http:\/\/stackoverflow.com\/questions\/14132256\/datagridview-for-linux-and-monodevelop\">DataGridView for Linux and MonoDevelop<\/a><\/p>\n<h3>ADO.NET \/ Database Access<\/h3>\n<p><a href=\"http:\/\/www.mono-project.com\/docs\/database-access\/\">Database Access<\/a><br \/>\n<a href=\"http:\/\/www.mono-project.com\/docs\/database-access\/providers\/sqlclient\/\">SQLClient<\/a> (ADO.NET Provider for Microsoft SQL Server)<br \/>\n<a href=\"http:\/\/www.mono-project.com\/docs\/database-access\/providers\/mysql\/\">MySQL<\/a><br \/>\n<a href=\"http:\/\/zetcode.com\/db\/mysqlcsharptutorial\/\">MySQL C# tutorial<\/a><br \/>\n<a href=\"http:\/\/solibnis.blogspot.ch\/2013\/02\/connecting-mysql-table-to-datagridview.html\">Connecting a MySQL table to a DataGridView control in C#<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>C-Sharp \/ C# .NET Compiler Platform, Compiler f\u00fcr die .NET-Programmiersprachen C# und Visual Basic .NET The .NET Compiler Platform SDK .NET Compiler Platform-SDK github.com\/dotnet\/roslyn, The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs CSC in Windows Path How to create and run C# program using CMD &gt; set path=%path%;C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4573","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4573"}],"version-history":[{"count":14,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4573\/revisions"}],"predecessor-version":[{"id":8663,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4573\/revisions\/8663"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}