IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.43 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-09-02
[11:30]<sxyg-rr>it was in my book but i can't remember which book it was in I have 7 C# books :P
[11:30]<afd>oh just search for WriteBytes in doc index?
[11:31]<afd>game time!!
[11:31]<afd>later!!!!!
[11:31]<afd>time to shoot!
[11:31]<sxyg-rr>later
[11:36]<cjmgrug>why is this channel ##csharp and not #csharp ?
[11:37]<jlvydus>becasue freenode has annoying policies
[11:39]<cjmgrug>is it like unofficial support channels have to have 2 hashes preceding the channels' names?
[11:42]<sxyg-rr>is it xna or xma?
[11:43]<cjmgrug>xna
[11:43]<sxyg-rr>okay this guy saying its xna but sounds like xma
[11:44]<sxyg-rr>that sucks you have to have C# express for XNA
[11:44]<cjmgrug>maybe he has a blocked nose.
[11:44]<sxyg-rr>lol
[11:44]<sxyg-rr>http://www.learnxna.com
[11:49]<sxyg-rr>what is xna for the xbo360?
[11:49]<sxyg-rr>xbox360*
[12:16]<-- dyrnnprd wrs puyv> i mean the other left <-")
[12:40]<ygvzyljjg>hi
[12:40]<ygvzyljjg>I could need some hints on where to start reading about using native c++ code from c#
[12:56]<drygq>im trying to write a telnet client for a certain device
[12:56]<drygq>and i would like people to be able to give input commands with parameters
[12:56]<drygq>http://pastebin.ca/158821
[12:57]<drygq>am i doing the right thing (using regexp?)
[13:02]<sxyg-rr>this was mine main2 ValidationExpression="^([a-zA-Z][0-9][a-zA-Z][0-9][a-zA-Z][0-9]|[0-9]{5})$">
[13:02]<sxyg-rr>nube was done with asp.net
[13:05]<sxyg-rr>WinnieThePooH, wtf
[13:05]<wyggyntxnpjjx>what?
[13:05]<sxyg-rr>why that name of all the names
[13:06]<wyggyntxnpjjx>it's only 1 name
[13:06]<sxyg-rr>how old r u?
[13:06]<wyggyntxnpjjx>why ask me?
[13:06]<sxyg-rr>yeah im asking u
[13:07]<wyggyntxnpjjx>why?
[13:07]<sxyg-rr>just wondering
[13:07]<wyggyntxnpjjx>ok
[13:08]<sxyg-rr>r u going to tell me?
[13:08]<drygq>Shin-Ra: to be honest.. ive no idea what that validation thing is doing
[13:08]<drygq>my regexp skills are -2
[13:08]<sxyg-rr>oh mine was for zip code
[13:08]<sxyg-rr>based on us zipcode or canadian
[13:08]<drygq>ahhh k, but what does it have to do with my code?
[13:10]<sxyg-rr>http://www.regular-expressions.info/dotnet.html
[13:10]<drygq>i know how the regexp class works.., thanks anyway
[13:10]<sxyg-rr>np
[13:29]<sxyg-rr>you mean split
[13:33]<sxyg-rr>:p
[13:34]<sxyg-rr>lemme see what you have
[13:40]<sn22n->string test = "Hello.To.You"; string[] chars = test.split('.'); Console.Write(chars[0]); => Hello
[13:41]<cjmgrug>???
[13:41]<sn22n->There's your split karim^afk
[13:41]<cjmgrug>oh :p
[13:50]<sxyg-rr>i never realized how much I love C# over C++ :)
[13:50]<sxyg-rr>i want to learn a side language. But I don't know what to pick
[13:53]<ygvzyljjg>How does the interop between c# and c++/clr work? Do I have to create different solutions and compile some c++/clr lib to make it work? Or is it possible to have c# and c++/clr code mixed in one souktion?
[13:53]<ygvzyljjg>solution?
[13:53]<sxyg-rr>why use C++/CLI?
[13:54]<sxyg-rr>i rather use VB.NET over C++/CLI
[13:55]<ygvzyljjg>well, exchange c++/clr with vb.net if you like. My question was targetting using multiple languages in one project
[13:56]<sxyg-rr>i heard of using C++ in C# but don't know if its true but I doubt reversed
[13:56]<sxyg-rr>like in one file but ddl yes
[14:00]<ygvzyljjg>but no specific idea how this is supposed to work?
[14:00]<sxyg-rr>nope never tried it before
[14:17]<sxyg-rr>whats &=?
[14:18]<ygvzyljjg>an operator
[14:19]<sxyg-rr>yes what does it mwan
[14:19]<sxyg-rr>mean*
[14:20]<ygvzyljjg>depends on how it was implemented. In most cases: a &= b is equivalent to a = a & b;
[14:26]<sxyg-rr>oh like a += b
[14:26]<ygvzyljjg>exactly
[14:27]<sxyg-rr>i wish C# had With :(
[14:35]<drygq>hmmmm 'Error 1 Cannot assign to 'ToLower' because it is a 'method group''
[14:35]<drygq>if (strInsert.ToLower="help"){outputHelp();}
[14:37]<sxyg-rr>you trying to add ToLower to a Mathod
[14:37]<sxyg-rr>Method
[14:37]<sxyg-rr>add it to a variable then call the method
[14:39]<sxyg-rr>don't you mean if(strInsert.ToLower=="help")
[14:42]<drygq>strInsert is not a method
[14:42]<drygq>its a String
[14:42]<drygq>i tried ==equals, gives same error
[14:42]<drygq>well almost equal :
[14:42]<drygq>p
[14:43]<drygq>Operator '==' cannot be applied to operands of type 'method group' and 'string'
[14:46]<sxyg-rr>show the code
[14:47]<drygq>why is my 'string strInsert' a method group?
[14:48]<drygq>its only two lines Shin-Ra
[14:48]<drygq>string strInsert = txtInsert.Text;
[14:48]<drygq>if (strInsert.ToLower="help"){outputHelp();}
[14:48]<r2sggag>== instead of =
[14:48]<sxyg-rr>hmm
[14:48]<r2sggag>?
[14:48]<drygq>tried that
[14:49]<drygq>Operator '==' cannot be applied to operands of type 'method group' and 'string'
[14:49]<r2sggag>ToLower()?
[14:49]<sxyg-rr>oh yeah :P
[14:49]<drygq> if (strInsert.ToLower()=="help"){outputHelp();}
[14:49]<drygq>:D
[14:49]<sxyg-rr>im stupid XD







