Jump to content

adagali antee edolaa undi ... but adigesthunna


Recommended Posts

Posted

c# lo method names endhuku upper case/ Capitalization lo start chestharu ?  anni languages lo mostly camelCase kadha vaadedhi brahmanandam-sad.gif

 

public Task<bool> StartScanningAsync(bool retry, Func<Task> tagFoundAction, Func<NfcError, Task> errorAction)

 

Posted
Just now, ramudu said:

yes , for method names they are using Pascal case instead of came case like other language , why anedhi naa question bro? any specific reason 

theres no hard guidleine to use Pascal Case i guess..

okkodu okko style ruddutaru.. ante

Posted
41 minutes ago, ramudu said:

c# lo method names endhuku upper case/ Capitalization lo start chestharu ?  anni languages lo mostly camelCase kadha vaadedhi brahmanandam-sad.gif

 

public Task<bool> StartScanningAsync(bool retry, Func<Task> tagFoundAction, Func<NfcError, Task> errorAction)

 

Cry.Gif GIF - Cry Emotion Edupu GIFs..engneering first year lo chusa ittantivi.. asal etla job chesthunnaru bhayya?? bore kottadha??

  • Haha 1
Posted
13 minutes ago, ramudu said:

yes , for method names they are using Pascal case instead of came case like other language , why anedhi naa question bro? any specific reason 

my opinion…

may be beacuse of language syntax and features …see the below example comparing java and c#…

in java there are class properties (aka getter setter) like getName(), setName()…etc

the same thing in c#… Name {get; set;}

so the same thing applies to menthods as well…

just my thought…

Posted
8 minutes ago, Shameless said:

Cry.Gif GIF - Cry Emotion Edupu GIFs..engneering first year lo chusa ittantivi.. asal etla job chesthunnaru bhayya?? bore kottadha??

andhukee kadha papa laa bomma lu chustham antunna developers yuvatha 

Posted

Appatlo case sensitive ki Baga pradanyam ichevalu anta computers kalakramena case insensitive aipoindi 

Posted
55 minutes ago, ramudu said:

 

public Task<bool> StartScanningAsync(bool retry, Func<Task> tagFoundAction, Func<NfcError, Task> errorAction)

 

ఎన్ని రోజులవుతుందో …c# code చూసి…

full method eyyi…manodu task cancellation ela handle chestunnado choodaam…

Posted
3 minutes ago, dasari4kntr said:

ఎన్ని రోజులవుతుందో …c# code చూసి…

full method eyyi…manodu task cancellation ela handle chestunnado choodaam…

adi dutch govt code for their digital app backend code , found in github 

 

https://github.com/MinBZK/woo-besluit-broncode-digid-app/blob/master/Source/DigiD.iOS/Services/NFCService.cs

 

people are making fun of this code snippet 

 

private static string GetPercentageRounds(double percentage)
        {
            if (percentage == 0)
                return "";
            if (percentage > 0.0 && percentage <= 0.1)
                return "🔵";
            if (percentage > 0.1 && percentage <= 0.2)
                return "🔵🔵";
            if (percentage > 0.2 && percentage <= 0.3)
                return "🔵🔵🔵";
            if (percentage > 0.3 && percentage <= 0.4)
                return "🔵🔵🔵🔵";
            if (percentage > 0.4 && percentage <= 0.5)
                return "🔵🔵🔵🔵🔵";
            if (percentage > 0.5 && percentage <= 0.6)
                return "🔵🔵🔵🔵🔵🔵";
            if (percentage > 0.6 && percentage <= 0.7)
                return "🔵🔵🔵🔵🔵🔵🔵";
            if (percentage > 0.7 && percentage <= 0.8)
                return "🔵🔵🔵🔵🔵🔵🔵🔵";
            if (percentage > 0.8 && percentage <= 0.9)
                return "🔵🔵🔵🔵🔵🔵🔵🔵🔵";

            return "🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵";
        }

 

  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...