All Questions

3
answers

Difference between Any, Contains and Exists

What is the difference between Any , Contains and Exists ? What is the appropriate context for each of them? (Examples of use) What are the advantages and disadvantages?     
asked on 10.12.2015 / 13:29
3
answers

How to check if a variable is defined?

I tried to do it this way: else if (vCodUG === undefined) and gave error of:    Uncaught ReferenceError: vCodUG is not defined     
asked on 05.06.2014 / 16:24
2
answers

What is the difference between IsNullOrEmpty and IsNullOrWhiteSpace?

I have here that there is no practical difference between String.Empty and "" , and then it came to me doubt. What's the difference between using String.IsNullOrEmpty(String) and String.IsNullOrWhiteSpace(String) ?...
asked on 20.12.2016 / 22:30
4
answers

What does the regular expression "/ (? = (?: ...) * $) /"?

I just needed a solution to put points to separate numbers from three to three, backwards. For example: 1000 => 1.000 100000 => 100.000 10000000 => 1.000.000 In a response I found in Stackoverflow English , the last solution wa...
asked on 06.02.2017 / 12:01
5
answers

What is the difference between an explicit cast and the as operator?

Always when I convert an object to a specific type, I use an explicit cast , for example: private void textBox1_Leave(object sender, EventArgs e) { TextBox textBoxTemp = (TextBox)sender; MessageBox.Show("Você digitou: " + textBoxTemp....
asked on 22.01.2015 / 19:21
2
answers

What is the difference between array and array?

in>?     
asked on 28.08.2017 / 18:59
2
answers

How does JavaScript obfuscation work?

I would like to know how this business "obfuscates" a JavaScript code. For example, there is an online service on a site that "obfuscates" the code on time. Just paste your code and it returns the whole "obfuscated" code: Simple code examp...
asked on 02.11.2017 / 03:19
3
answers

What is a greedy Regular Expression?

What is a Expressão Regular Gulosa ? What sets it apart from Expressão Regular Não-Gulosa ? Expressões regulares Gulosas consume more resource than Não-Gulosas ?
asked on 23.10.2015 / 12:49
2
answers

How to humanize a date in PHP

How to humanize a date in PHP? For example, from that date 2015-08-20 , I want the function to return Há uma semana , because it's strange to read something like foi publicado há 754 dias or publicado há 38 semanas .   ...
asked on 30.08.2015 / 00:19
2
answers

What is TCP and UDP? What is the difference between the two protocols?

Whenever I come across some speed meter, or even when talking about broadcasting services like Streaming, these two terms are quoted somehow, but what do they mean anyway? What's the difference between the two?     
asked on 20.07.2017 / 16:12