The Active Network
ActiveMac Anonymous | Create a User | Reviews | News | Forums | Advertise  
 

  *  

  Properites vs. Methods...
Time: 19:17 EST/00:17 GMT | News Source: GotDotNet | Posted By: Jonathan Tigner

It is an age old debate… we have some fairly good guidelines, but they certainly leave room for improvement. Today at a WinFX API review (for some cool stuff that didn’t make it out in the PDC drop) we had the debate again… Today the APIs look like:

public DateTime GetDisconnectTime();
public TimeSpan GetIdleTime();
public DateTime GetLogonTime();
public SessionStates GetSessionStates();
public WindowsIdentity GetUserInformation();

My knee jerk is to make these properties…

public DateTime DisconnectTime {get; }
public TimeSpan IdleTime {get; }
public DateTime LogonTime {get; }
public SessionStates SessionStates {get; }
public WindowsIdentity UserInformation {get; }

the problem… well, the calls *could* be cross machine…. My worry is if they are cross machine making these guys properties will lead people to write inefficient code (and therefore bring down the wrath of Rico)…

So, my question for you… Based on this very limited data I have given you, what should we do here? Go for properties and hope for the best, or error on the safe side and use methods, something else?

Write Comment
Return to News

  Displaying 601 through 624 of 624
Prev | First
  The time now is 7:48:25 AM ET.
Any comment problems? E-mail us
#601 By 4240821 (82.115.4.230) at 8/12/2025 10:37:13 PM
https://www.xfree.com/probtaguaje579
https://www.xfree.com/catspatbibi37
https://www.xfree.com/xelteyblogex845
https://www.xfree.com/bowquitanmau596
https://www.xfree.com/opusinel57
https://www.xfree.com/rijulaword388
https://www.xfree.com/terlambterti384
https://www.xfree.com/sturmotepe698
https://www.xfree.com/prohmestwado279
https://www.xfree.com/ticpersmilil742

#602 By 4240821 (82.115.4.230) at 8/14/2025 6:32:40 AM
https://www.xfree.com/serfplovlasing826
https://www.xfree.com/protabtratro183
https://www.xfree.com/colparami316
https://www.xfree.com/tilekaltse96
https://www.xfree.com/smareasdari797
https://www.xfree.com/pondkooverpai847
https://www.xfree.com/bruduntiltea836
https://www.xfree.com/kpilosurre432
https://www.xfree.com/tiocomnisub727
https://www.xfree.com/flowesetlan377

#603 By 4240821 (82.115.4.230) at 8/14/2025 4:50:55 PM
https://www.xfree.com/vertfectosis722
https://www.xfree.com/ivanfasru930
https://www.xfree.com/ickaposimp624
https://www.xfree.com/reobubele792
https://www.xfree.com/frutxiasilthe1
https://www.xfree.com/repoulmage576
https://www.xfree.com/tioflatazen588
https://www.xfree.com/rhiztazahsound349
https://www.xfree.com/acsweaterde262
https://www.xfree.com/ticdecknasi727

#604 By 4240821 (82.115.4.230) at 8/15/2025 10:34:11 AM
https://www.xfree.com/cossicache876
https://www.xfree.com/lyiroppeadi815
https://www.xfree.com/widistafur877
https://www.xfree.com/rebudesrbotf638
https://www.xfree.com/tiwsinesga642
https://www.xfree.com/tatpevspresik232
https://www.xfree.com/ketprighscenlec6
https://www.xfree.com/alunpumge826
https://www.xfree.com/stapozhimpuu318
https://www.xfree.com/gayvicnaper472

#605 By 4240821 (82.115.4.230) at 8/16/2025 1:53:37 PM
https://www.xfree.com/noutledabo123
https://www.xfree.com/inderdoraj861
https://www.xfree.com/quiviforce846
https://www.xfree.com/dreamboicedre269
https://www.xfree.com/domlionono189
https://www.xfree.com/inderdoraj861
https://www.xfree.com/srivlunggungu154
https://www.xfree.com/miuficaswei115
https://www.xfree.com/webpcekasom807
https://www.xfree.com/mittpirsmadi193

#606 By 4240821 (82.115.4.230) at 8/17/2025 1:06:01 AM
https://www.xfree.com/enizbyby555
https://www.xfree.com/gungepavvi554
https://www.xfree.com/wretmacodic623
https://www.xfree.com/nkilinticos161
https://www.xfree.com/pamoosedi190
https://www.xfree.com/freegcirnesang13
https://www.xfree.com/furtirasis670
https://www.xfree.com/verlerpdoulque130
https://www.xfree.com/malumebest522
https://www.xfree.com/windcativar56

#607 By 4240821 (82.115.4.230) at 8/17/2025 5:55:09 PM
https://www.xfree.com/ifcudyrep97
https://www.xfree.com/campdrugacat745
https://www.xfree.com/selfpicreset160
https://www.xfree.com/fleecluhobgold606
https://www.xfree.com/vertfectosis722
https://www.xfree.com/stitheadsdoorstlem270
https://www.xfree.com/gungepavvi554
https://www.xfree.com/otocvarho339
https://www.xfree.com/landhostiobookp862
https://www.xfree.com/faiteniba803

#608 By 4240821 (82.115.4.230) at 8/17/2025 9:48:51 PM
https://www.xfree.com/todeguma728
https://www.xfree.com/enogemto215
https://www.xfree.com/chrisosekri408
https://www.xfree.com/powithstenshol374
https://www.xfree.com/lenquirebo812
https://www.xfree.com/longbelrogi232
https://www.xfree.com/godfsurfubar299
https://www.xfree.com/tandodanvia472
https://www.xfree.com/mingcontscomkey608
https://www.xfree.com/porrealesto929

#609 By 4240821 (82.115.4.230) at 8/18/2025 9:29:17 PM
https://www.xfree.com/esdroolemob103
https://www.xfree.com/grufrunheti837
https://www.xfree.com/ivactiaque958
https://www.xfree.com/cossosarpay933
https://www.xfree.com/ivanfasru930
https://www.xfree.com/ghagoregaw378
https://www.xfree.com/neyskathaga844
https://www.xfree.com/busnidoter782
https://www.xfree.com/tainatslilan803
https://www.xfree.com/suttbestmunsren796

#610 By 4240821 (186.179.14.87) at 8/21/2025 12:48:26 AM
https://odysee.com/i_loved_her_account_and_i_didnt_know_that_she_was-vfkzrnsd30kf17505:52735e074bfc1983c934cc738d3eeddb85fc81dd
https://odysee.com/captivating_stop_motion_animations-590tfxt8vzjf15448:57884d14d807ac5dc7f441fab4cfd64a09b1c282
https://odysee.com/1010_experience_would_recommend-rdjpvrwvszjf11174:1c4980dbc162b966fa478fe1c0a190bd27b6e33d
https://odysee.com/respecting_1v1-83md2asg54kf16276:c1fb35f272bc2bd5c71ef2146d194fbfc0b1275f
https://odysee.com/the_way_he_tumbles_his_way_into_my_heart-jx3jcbsd30kf16640:d2c689242b16e4abead6e26b5dbb0f184373b419
https://odysee.com/assistant-0aejqso604kf19237:8e721f64ad86b883320a3a2c93cdd1ccf3235d7f
https://odysee.com/-4e2798yl40kf15542:ba0f5c4163f556ecb5554a56c7161c4f816f022e
https://odysee.com/test_video_post_20250820_051228-5az4vozwy3kf13287:6e3d6b5386f6bb7b5f19f3c88e55f6b28dcdd2e3
https://odysee.com/woman_assaults_a_pizza_delivery_driver-4cpvf65854kf17197:09629fc59ccf6288471ce435d6066ec76d86393d
https://odysee.com/some_progress_on_my_fullsize_printed_r5_astromech-r6w6vnxx30kf19289:17fd03c9b63de316049930eca0d311a668c95cb3

#611 By 4240821 (91.242.95.178) at 8/21/2025 4:57:14 PM
https://odysee.com/-4e2798yl40kf15542:ba0f5c4163f556ecb5554a56c7161c4f816f022e
https://odysee.com/canon-68yrhb66v3kf14184:21c4f7e5924df8d96d0f59de9a019468e3a1b3f5
https://odysee.com/new_snippet-f28t6o5ty2kf12966:6d67199a40d9c926a3fc0ddc6c0395dbc7e531f0
https://odysee.com/new_title_20250820_004634-m1jwizazn2kf12600:87e41dc83a5d1531a67a3dfbe0d0bde6495f37e0
https://odysee.com/passable_idle_sound_2005_cbr_600f4i-sdhxo41o20kf14282:09fa8a1be72176892ecb544e1b6cb86fa525d925
https://odysee.com/meirl-ac5ca5da34kf13182:07caaf6245d4db5fa7cb03b5a9d8ce7a862468a7
https://odysee.com/islamic_preacher_wants_people_to_celebrate_raksha-i0ewhikqz3kf14803:08881e64ff7ca7787bef834d04a3e4643c1428ed
https://odysee.com/finished_with_the_lip_syncing_for_two_different-pzmyb4o5z3kf16087:d82c04f4d3498dc1287e6740cf0536ab73607f45
https://odysee.com/india_not_for_beginners-yfe21ja364kf17489:8993e2d7f288bbc03850fe7d460842974fb6f349
https://odysee.com/danica_tremblay_et_son_oncle-s9xv52igqzjf19625:4f269e1e4d4196e7ad24221a74e1533214f66679

#612 By 4240821 (170.246.53.150) at 8/22/2025 10:07:46 AM
https://sexonly.su/g/p52/p52gcvqpgimdsgofji.php
https://sexonly.su/g/p41/p41ujzlsecvflzsmls.php
https://sexonly.su/g/p61/p61ikopqwjuakmdzxi.php
https://lustful.su/g/p49/p49nxlstzcbkhihhmd.php
https://sexonly.su/g/p72/p72tyaejxduewgbewi.php
https://nsfw.su/g/p53/p53pqnekcbgebksesj.php
https://nsfw.su/g/p8/p8jkrilemjowffzxh.php
https://nsfw.su/g/p97/p97ylpdwabsddsbbdd.php
https://sluts.su/g/p32/p32mnghkmpkamgmbbb.php
https://sluts.su/g/p57/p57ekxwtntuodlykbp.php

#613 By 4240821 (191.102.187.84) at 8/23/2025 12:03:11 PM
https://sluts.su/g/p61/p61elpcuvzpuadpmza.php
https://nsfw.su/g/p9/p9aavhnqarvnnqzcr.php
https://lustful.su/g/p8/p8hlvwlqgotmvhhcd.php
https://lustful.su/g/p51/p51qrbrocoplbhvvep.php
https://sluts.su/g/p66/p66ooizwkiqgnvtpdd.php
https://sluts.su/g/p92/p92ypyppubfrrdhkke.php
https://lustful.su/g/p73/p73yoiqrkzrrztdcho.php
https://sluts.su/g/p79/p79bnyerlspcjluhkr.php
https://nsfw.su/g/p43/p43evlouttsruczjuw.php
https://sexonly.top/g/p68/p68redpcjcdaljltzn.php

#614 By 4240821 (191.102.179.99) at 8/24/2025 9:36:30 PM
https://sexonly.su/g/p6/p6linjkwjlpmrqfho.php
https://sexonly.top/g/p14/p14trbmjuvtdwsrgly.php
https://nsfw.su/g/p90/p90ghughrklmznejse.php
https://sluts.su/g/p78/p78lchasjjossweajn.php
https://lustful.su/g/p52/p52ahipowloetevavs.php
https://sexonly.top/g/p88/p88etxuoisyeygbcuw.php
https://sluts.su/g/p1/p1yrlwjijlgnenogi.php
https://sexonly.top/g/p18/p18mzgpqdsmhabvqmo.php
https://sexonly.su/g/p50/p50icltwfmqchqkful.php
https://lustful.su/g/p48/p48ozqoihsxilvemxy.php

#615 By 4240821 (170.247.220.83) at 8/25/2025 3:12:56 PM
https://sexonly.su/g/p7/p7crwpdyclsdtxmbc.php
https://nsfw.su/g/p4/p4hpbpubonxtgookn.php
https://sexonly.su/g/p35/p35jgiaupznjshumtt.php
https://nsfw.su/g/p77/p77rgymukjosavmzmw.php
https://sexonly.top/g/p68/p68ehovljuueguxgus.php
https://nsfw.su/g/p25/p25ckjlkypahfvwdvj.php
https://sexonly.top/g/p76/p76uqwodemhzjfnwbo.php
https://nsfw.su/g/p52/p52vlzlzyuevmlkwkl.php
https://sluts.su/g/p44/p44jwkbbxofdqqgqao.php
https://lustful.su/g/p39/p39kpqnblsrfyqnlpo.php

#616 By 4240821 (95.164.235.164) at 8/26/2025 12:56:50 PM
https://nsfw.su/g/p86/p86zfjrpcbtoxfgtpf.php
https://sluts.su/g/p75/p75vlwdxnnuzzqobei.php
https://nsfw.su/g/p68/p68kciqiahrknbwlrx.php
https://lustful.su/g/p5/p5sjsptpnibpzqzpm.php
https://lustful.su/g/p81/p81pammyujeyodwili.php
https://sexonly.top/g/p17/p17fnwmjbsdhecijcw.php
https://nsfw.su/g/p18/p18umtpfxedlubboxg.php
https://sluts.su/g/p91/p91prceklntfqkutbo.php
https://sluts.su/g/p88/p88nmuqlslvcgjxooz.php
https://lustful.su/g/p95/p95rpongnichzpkhwc.php

#617 By 4240821 (138.122.193.222) at 8/26/2025 4:32:06 PM
https://sexonly.su/g/p59/p59uchrntzeotuuuop.php
https://sluts.su/g/p7/p7idxtsayynnxujcb.php
https://sexonly.su/g/p27/p27vodxynzvgsgctdl.php
https://lustful.su/g/p7/p7dcigzuywiesndwi.php
https://sexonly.top/g/p92/p92qvcxhpfvbbvwytg.php
https://lustful.su/g/p74/p74bhaclfftdaokokl.php
https://sluts.su/g/p40/p40zfvrhvoxeivpjff.php
https://lustful.su/g/p15/p15houbfdufsezqhjz.php
https://sexonly.top/g/p79/p79ywlogmyxdvmcbei.php
https://sluts.su/g/p41/p41uxjsbpvuqwmkxni.php

#618 By 4240821 (91.242.125.75) at 8/27/2025 10:26:16 PM
https://lustful.su/g/p33/p33cbzgvyyolfjngsv.php
https://sluts.su/g/p99/p99fpoibpifyvzwypx.php
https://nsfw.su/g/p45/p45bhvjpregtmswmsv.php
https://sexonly.top/g/p55/p55pmaprjvemvqxdfy.php
https://sluts.su/g/p8/p8qeqkndrwzvschze.php
https://lustful.su/g/p90/p90jiqdovkqxdxwhhi.php
https://sluts.su/g/p13/p13jmlhilvdtgdvyue.php
https://sexonly.top/g/p57/p57bmyuobicgcxcjvt.php
https://sexonly.su/g/p35/p35qdwaxikmulhuafu.php
https://sexonly.su/g/p11/p11rtsanreypidvgxb.php

#619 By 4240821 (191.102.149.204) at 8/28/2025 6:19:26 PM
https://nsfw.su/g/p98/p98hhzqsduwmweiwkd.php
https://sluts.su/g/p78/p78kxqcvhpgqfnrkjf.php
https://lustful.su/g/p99/p99inurcoiknqgkbei.php
https://lustful.su/g/p63/p63epwcnrluyjgqdnp.php
https://lustful.su/g/p4/p4hflubpngboykivw.php
https://sexonly.top/g/p65/p65oxdqdfzkgzjvwuq.php
https://sluts.su/g/p52/p52jnxxbeujuclxnij.php
https://sexonly.top/g/p89/p89ktynmqcavrrfyzc.php
https://nsfw.su/g/p18/p18troklxyfpaqgqca.php
https://sexonly.su/g/p21/p21qqnoapgwxdgjfbz.php

#620 By 4240821 (132.255.133.188) at 8/29/2025 10:34:36 AM
https://nsfw.su/g/p44/p44xdfmkplelczlwkj.php
https://nsfw.su/g/p96/p96rzsfbegilbgxanw.php
https://lustful.su/g/p99/p99rqjlspauprpwzip.php
https://nsfw.su/g/p42/p42ylmpmhofrsjkfgd.php
https://sexonly.top/g/p22/p22gclwxjmmoyritdf.php
https://sexonly.su/g/p51/p51uifprmshcbsxstk.php
https://sexonly.top/g/p74/p74yspdxlwanzviswq.php
https://sluts.su/g/p91/p91oaksrowtvupjpyf.php
https://sluts.su/g/p93/p93igtxkijhytzvznj.php
https://sluts.su/g/p99/p99gxfbeemezvyxdby.php

#621 By 4240821 (132.255.133.233) at 8/30/2025 12:42:45 AM
https://nsfw.su/g/p66/p66dogiixyrtmjrmca.php
https://sluts.su/g/p17/p17anrbpngmesuuebv.php
https://sexonly.su/g/p36/p36vwmeingodopjkrl.php
https://nsfw.su/g/p27/p27wylmjfaojtjuuip.php
https://sexonly.su/g/p35/p35bjcunwnwunsubfd.php
https://lustful.su/g/p35/p35pmafaxyqdhdcyxa.php
https://sexonly.su/g/p20/p20ezvpqierntbmfgt.php
https://sexonly.su/g/p61/p61gbrwodnnfomgsnr.php
https://sexonly.top/g/p97/p97vrljhveofhbjkbv.php
https://nsfw.su/g/p11/p11nnfyckdsqyywzwt.php

#622 By 4240821 (191.102.187.151) at 8/31/2025 4:55:54 PM
https://lustful.su/g/p4/p4mazmyeduqbqpbzg.php
https://lustful.su/g/p34/p34zllujicpuzilkvs.php
https://nsfw.su/g/p3/p3fxekuvxctanfcyo.php
https://lustful.su/g/p67/p67bqfxrbknpkzyyaz.php
https://lustful.su/g/p6/p6bvxdjtdzizolhux.php
https://sexonly.su/g/p1/p1phbcufsnslipixm.php
https://sexonly.top/g/p99/p99vdejeylxmtwwceq.php
https://sluts.su/g/p62/p62skdzxhhjaqrqmbq.php
https://sexonly.su/g/p74/p74nehqgdkvvrzuzzr.php
https://sluts.su/g/p49/p49nmgwyvbhigcpxba.php

#623 By 4240821 (170.247.222.148) at 9/1/2025 5:41:32 PM
https://sexonly.top/g/p63/p63hzjvjikwbaqqqvq.php
https://sexonly.su/g/p47/p47kellubhmivmvneo.php
https://sexonly.su/g/p77/p77tdfgopfykwnphjs.php
https://sexonly.su/g/p33/p33spcslughgpwidwf.php
https://sexonly.su/g/p95/p95uibncticpwcqhin.php
https://sexonly.top/g/p81/p81zkiwiaqshfuliwx.php
https://sexonly.top/g/p87/p87rsvlbemxkvbxfrj.php
https://sexonly.su/g/p83/p83ewmjexwssheyqfs.php
https://lustful.su/g/p70/p70zmbvvjrwvfcvccq.php
https://sexonly.top/g/p1/p1odbuzsgknloawom.php

#624 By 4240821 (143.137.167.3) at 9/3/2025 2:20:12 AM
https://nsfw.su/g/p1/p1qotzgyjfhdrngzm.php
https://sexonly.top/g/p23/p23vjcxbeojgcxmeqj.php
https://sluts.su/g/p96/p96vwnfdrnvzbxjyqo.php
https://sexonly.su/g/p47/p47jspvyowvzrhkemh.php
https://nsfw.su/g/p61/p61dgojtwxvlkiuyct.php
https://sluts.su/g/p61/p61ibsscsjkksovkms.php
https://sexonly.su/g/p57/p57qskgtaokwucnrvo.php
https://lustful.su/g/p99/p99pszjkklfluapcpy.php
https://sexonly.su/g/p83/p83rmljoioyaoloxyv.php
https://sluts.su/g/p98/p98znkzurjprtbvsmo.php

Write Comment
Return to News
  Displaying 601 through 624 of 624
Prev | First
  The time now is 7:48:25 AM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *