Recent public codes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C++0x
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Objective-C
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- SQL
- Tcl
- Text
- Unlambda
- VB.NET
- Whitespace
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { int myInt; string name="adam"; myInt=Convert.ToInt32("name");
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { string name="adam"; myInt=Convert.ToInt32("name"); Console.WriteLine("Name as an int is {0}", myInt);
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { int myInt; myInt=Convert.ToInt32("name") Console.WriteLine("Name as an int is {0}", myInt);
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { string name="adam"; myInt=Convert.ToInt32("name") Console.WriteLine("Name as an int is {0}", myInt);
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { string name="adam"; myInt=Convert.ToInt32("name") Console.WriteLine("Name as an int is {0}", name);
...
-
1 2 3 4 5 6 7 8
OleDbConnection connection = new OleDbConnection("connectionstring"); String strCom = String.Format(@"INSERT INTO Rent (memID , bookID , rentDate) VALUES ('{0}','{1}','{2}') UPDATE Book bookStatus ='1' WHERE bookID ='{3}' )",txtMemID.Text , txtBookID.Text, dtp.Value.ToShortDateString(),txtBookID.Text); OleDbCommand command= new OleDbCommand (strConn, connection ); connection.Open(); command.ExecuteNonQuery(); connection.Close();
-
1 2 3 4 5 6 7 8 9
using System; public class MyProgram { public static void Main(string[] args) { double accountBalance = 1550.30; int x = (int)accountBalance; Console.WriteLine(x); } }
-
1 2 3 4
String strCom = String.Format(@"INSERT INTO Rent (memID , bookID , rentDate) VALUES ('{0}','{1}','{2}') UPDATE Book bookStatus ='1' WHERE bookID ='{3}' )",txtMemID.Text , txtBookID.Text, dtp.Value.ToShortDateString(),txtBookID.Text); OleDbConnection conn= new OleDbConnection(strConn);
-
1 2 3 4
String strCom = String.Format(@"INSERT INTO Rent (memID , bookID , rentDate) VALUES ('{0}','{1}','{2}') UPDATE Book bookStatus ='1' WHERE bookID ='{3}' )",txtMemID.Text , txtBookID.Text, dtp.Value.ToShortDateString(),txtBookID.Text); OleDbConnection conn= new OleDbConnection(strConn)";
-
1
String strCom = "INSERT INTO Rent (memID , bookID , rentDate) VALUES('" + txtMemID.Text + "','" + txtBookID.Text + "' , '" + dtp.Value.ToShortDateString()+"') UPDATE Book bookStatus ='1' WHERE bookID ='txtBookID.Text = new OleDbConnection(strConn)";
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { name=Convert.ToInt32("adam") Console.WriteLine("Name as an int is {0}", name); Console.ReadLine();
...
-
1 2 3 4 5 6 7 8 9
using System; using System.Globalization; using System.Text.RegularExpressions; public class Test { public static void Main() { string marketName = "Bleb 0.2sdsfsdfsdf sdsadfsad.";
...
-
1 2 3 4 5 6 7 8 9
using System; using System.Globalization; using System.Text.RegularExpressions; public class Test { public static void Main() { string marketName = "Bleb 0.2sdsfsdfsdf sdsadfsad";
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { string name="adam"; name=Convert.ToInt32("adam") Console.WriteLine("Name as an int is {0}", name);
...
-
1 2 3 4 5 6 7 8 9
using System; using System.Globalization; using System.Text.RegularExpressions; public class Test { public static void Main() { string marketName = "0.2";
...
-
1 2 3 4 5 6 7 8 9
using System; using System.Globalization; using System.Text.RegularExpressions; public class Test { public static void Main() { string marketName = "0.2";
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { string name="adam"; Console.WriteLine("Name as an int is {0}", Convert.ToInt16(name)); Console.ReadLine();
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { string name="adam"; Console.WriteLine("Name as an int is {0}", Convert.ToInt16(name)); Console.ReadLine();
...
-
1 2 3 4 5 6 7 8 9
using System; using System.Globalization; public class Test { public static void Main() { double result; Console.WriteLine(double.TryParse("Fanny 0.2 Overs", NumberStyles.AllowDecimalPoint, CultureInfo.InvariantCulture, out result));
...
-
1 2 3 4 5 6 7 8 9
using System; using System.Globalization; public class Test { public static void Main() { double result; Console.WriteLine(double.TryParse("0.2", NumberStyles.AllowDecimalPoint, CultureInfo.InvariantCulture, out result));
...
-
1 2 3 4 5 6 7 8 9
using System; using System.Globalization; public class Test { public static void Main() { double result; System.Diagnostics.Debug.WriteLine(double.TryParse("0.2", NumberStyles.AllowDecimalPoint, CultureInfo.InvariantCulture, out result));
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { double result; System.Diagnostics.Debug.WriteLine(double.TryParse("0.2", NumberStyles.AllowDecimalPoint, CultureInfo.InvariantCulture, out result)); System.Diagnostics.Debug.WriteLine(result);
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { string name="adam"; Console.WriteLine("Name as an int is {0}", Convert.ToDouble(name)); Console.ReadLine();
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { double result; Debug.WriteLine(double.TryParse("0.2", NumberStyles.AllowDecimalPoint, CultureInfo.InvariantCulture, out result)); Debug.WriteLine(result);
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { double result; System.Out.WriteLine(double.TryParse("0.2", NumberStyles.AllowDecimalPoint, CultureInfo.InvariantCulture, out result)); System.Out.WriteLine(result);
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { double result; System.WriteLine(double.TryParse("0.2", NumberStyles.AllowDecimalPoint, CultureInfo.InvariantCulture, out result)); System.WriteLine(result);
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { string name="adam"; Console.WriteLine("Name as an int is {0}", Convert.ToDouble(name)); Console.ReadLine();
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { string name="adam"; Console.WriteLine("Name as an int is {0}", Convert.ToInt(name)); Console.ReadLine();
...
-
1 2 3 4 5 6 7 8 9
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; public class ABC {
...
-
1 2 3 4 5 6 7 8 9
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; public class ABC {
...


