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: 1825.67 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-20
Pages: < Prev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Next >
[21:08]<mjzymygo>uh.
[21:08]<mjzymygo>>_< *scrolls up*
[21:08]<mjzymygo>ah
[21:08]<mjzymygo>=O)
[21:08]<svzz[wjzc]>uncreative caus the 2 object that will implement this interface that can containt my object that needs to see its parent are actually aldready inheriting a base class... and C# doesn't support multiple inheritance
[21:09]<mjzymygo>^^^ rightly so...
[21:09]<svzz[wjzc]>so i'll make an interface :)
[21:09]<svzz[wjzc]>>_<
[21:09]<ugrznrvyvn>it doesn't?? i thought that was the big advantage of .Net of java? ha! (am clearly new)
[21:10]<svzz[wjzc]>uncreative a class can have one base class and as many interfaces it could need
[21:10]<mjzymygo>C++
[21:10]<mjzymygo>oooohh...
[21:10]<mjzymygj|fjjm>bbl
[21:10]<ugrznrvyvn>i think it might have been python
[21:11]<ugrznrvyvn>cuz i was picking them up at the same time...
[21:11]<svzz[wjzc]>Moridin8|Food Bonne appetit
[21:11]<ugrznrvyvn>mmm food.
[21:11]<ugrznrvyvn>i want chocolate...
[21:14]<pfrcnnus>Could anyone tell me if this article (http://www.geocities.com/Jeff_Louie/multi-threaded.htm) is the best way to do that in .net 2.0?
[21:21]<wjzc_dnvzfnzf>hello, i'm trying to grok a tutorial on delegates: http://www.devhood.com/Tutorials/tutorial_details.aspx?tutorial_id=361 ... and am wondering about this line: CMP_Func foo = new CMP_FUNC(myCmpFunc); ... because CMP_Func was never declared as a type
[21:24]<y-gz>work_metaperl: public delegate int CMP_FUNC(object x, object y);
[21:24]<y-gz>that is the type
[21:24]<y-gz>it is a method signature
[21:25]<y-gz>every method that accepts object x, object y and returns int is a CMP_FUNC
[21:25]<wjzc_dnvzfnzf>yes, but the line is spelled "Cmp_Func"
[21:25]<wjzc_dnvzfnzf>CMP_Func foo = new CMP_FUNC(myCmpFunc);
[21:25]<wjzc_dnvzfnzf>and that type is never declared, no?
[21:26]<y-gz>a typo
[21:26]<y-gz>:)
[21:26]<y-gz>as it seems
[21:26]<wjzc_dnvzfnzf>i-nZ, so you think it should be CMP_FUNC foo = new CMP_FUNC(myCmpFunc); // ?
[21:26]<y-gz>yeap
[21:26]<wjzc_dnvzfnzf>i see. thanks
[21:27]<y-gz>no spikelite ?
[21:27]<y-gz>smellyhippy: no bot today ?
[21:28]<sdnffdxdlld>my router is up and down more than kogs panties
[21:28]<sdnffdxdlld>I'm at my parents atm which is why I'm not disconnecting every 2 seconds
[21:28]<sdnffdxdlld>is livejournal down for anyone else?
[21:30]<z2zzcnv>Sorry for the ridiculous question, but this is my first week with ASP.NET and C#. I'm trying to write to an XML file that has the format <Projects><Email name="users email address"><Project name="whatever"></Project></Email></Projects>. My problem is, I don't know how to add records so that they appear underneath that <Email> portion. In other words, I want to add an aditional <Project name="whatever here"> line at the end. Any suggestions?
[21:34]<vynvyv>my book says internal is "the default accessibility for nonnested types"
[21:34]<vynvyv>oh, i think i get it
[21:35]<sjlx>ok
[21:37]<vynvyv>damn, C# makes a classes members private by default. That's awesome. Do most people use this feature or explicitly say private anyway?
[21:37]<vynvyv>i should stop polling, that's kinda lame
[21:37]<cfudsd>i explicitly say private
[21:38]<cfudsd>as does it seems autogeneration tools inside vs.net
[21:38]<sdnffdxdlld>tieTYT I explicitly say private
[21:38]<sdnffdxdlld>makes the code look cleaner and www.syntaxnet.com
[21:39]<sdnffdxdlld>errrrr
[21:39]<sdnffdxdlld>half of that should have been deleted and half wasnt even for in here lol
[21:42]<dyczcjzyzfyzzj>can anyone tell me how to create a visual studio project consisting of multiple executables? is this even possible?
[21:43]<sdnffdxdlld>mikeConigliaro: you can combine multiple modules into a single assembly
[21:43]<sdnffdxdlld>but executables? no you get 1 per project
[21:43]<cfudsd>mikeConigliaro: you can't have a project with more than one executable, but you can have a soluton with more than one project, and each project generating its own exe or dll
[21:43]<sdnffdxdlld>you can have multiple projects per solution
[21:43]<dyczcjzyzfyzzj>ok, so i need to create a solution
[21:44]<cfudsd>yep.. and actually when you create a project, a default solution is created.. you can go over to the solution explorer and right click "add new project"
[21:44]<sdnffdxdlld>you'll already have a solution I would have thought ... it'll be the root node in the solution explorer
[21:44]<dyczcjzyzfyzzj>is that possible in visual studio express?
[21:44]<cfudsd>95% sure it is
[21:44]<dyczcjzyzfyzzj>oh, i see now
[21:44]<gjrvcxnne>i put m0`'s story on thedailywtf.com
[21:44]<gjrvcxnne>it was a shitty wtf today, so i though i'd add something funny
[21:44]<kjr>what story?
[21:45]<sdnffdxdlld>link :P
[21:45]<sdnffdxdlld>lo kog
[21:45]<dyczcjzyzfyzzj>is it possible for these projects to share code?
[21:46]<sdnffdxdlld>mikeConigliaro: you "Add Reference
[21:46]<sdnffdxdlld>"
[21:46]<sdnffdxdlld>that way you can include one projectwww.syntaxnet.com
[21:46]<sdnffdxdlld>oh ffs
[21:46]<dyczcjzyzfyzzj>ok, i see
[21:47]<sdnffdxdlld>you "Add reference" and select the project you want ... you can also include other 3rd party assemblies and some of the core framework thats not referenced as standard
[21:47]<vynvyv>GoatCheez: what's his story?
[21:47]<vynvyv>is there a link?
[21:47]<cfudsd>yep add reference 1) you can add dotnet ones that are 'registered' or in the gac etc, then there is project tab, where you can add references to ones in your project (which is great), or you can navigate/browse to a specific DLL
[21:47]<dyczcjzyzfyzzj>im looking at the default references. these all look like dlls. references dont need to be dlls do they?
[21:48]<sdnffdxdlld>you can referwww.syntaxnet.com
[21:48]<sdnffdxdlld>agh!!!
[21:48]<sdnffdxdlld>I swear this keyboard is fucked or somthing
[21:48]<dyczcjzyzfyzzj>hehe
[21:48]<sdnffdxdlld>what else would you want to reference?
[21:48]<gjrvcxnne>tieTYT: http://thedailywtf.com/forums/thread/82535.aspx
[21:48]<dyczcjzyzfyzzj>i just want to write a few functions or classes and uses them in all projects
[21:48]<vynvyv>you guys probably just said this but i'm stupid: so if project A compiles into an exe and project B compiles to an exe, project B can still use project's A's classes?
[21:49]<dyczcjzyzfyzzj>*use
[21:49]<gjrvcxnne>http://thedailywtf.com/forums/thread/82535.aspx <------------- m0'` hex fiasco
[21:49]<vynvyv>i know you can if A is a dll (that's the point, right)? But i'm not sure about if A is an exe
[21:49]<nfnrqnr>hi, someone that knows howto register .net 2.0 for netappz if i get after un+installing 2.0 "Unable to find a version of the runtime to run this application" ?
[21:49]<sdnffdxdlld>tieTYT: afaik yeah but you'd be better off putting the shared code into assembly c that goes into a dll
[21:49]<vynvyv>GoatCheez: haha i like it already
[21:49]<vynvyv>it's got pictures!
[21:50]<vynvyv>smellyhippy: hm, i should tias :)
[21:50]<vynvyv>bbl guys
[21:50]<gjrvcxnne>m0`'s story is the comment I posted
[21:50]<sdnffdxdlld>I'm off too
[21:50]<sdnffdxdlld>cyall at some point
[21:50]<sdnffdxdlld>maybe :P
[21:50]<gjrvcxnne>l8r y0
[21:51]<dyczcjzyzfyzzj>so wait.. if i want to share some classes or functions between multiple projects, i need to make the common code into a dll?







