Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
== and Equals Differeance in C#
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Text; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here //Console.WriteLine("Hello, world!"); StringBuilder a = new StringBuilder("S"); StringBuilder b = new StringBuilder("S"); if(a.Equals(b)) //if(a ==b ) Console.WriteLine(true); else Console.WriteLine(false); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Ship! Wall
merge sort
CodeAdvent
Interface IEnumerable
Public access specifier
الحاسوب
helloworld
Code challenge: Factorial
Greatest Common Divisor of 2 or more numbers.
priya
Please log in to post a comment.