Questions tagged [take]

Take is a common keyword or function name used to return a given number of elements, usually contiguously and from the beginning of a collection. Only use this tag for the take keyword or function name; usage such as "take a picture/screenshot" is out of scope.

Take functions usually only require two pieces of information: the number of elements to be returned from the sequence, and the sequence itself.

If take is a method in a particular library or language, it is called on the object and would only require the number parameter.

This concept is found in many languages and libraries, some of which are listed below.

Reference

142 questions
-1
votes
3 answers

Take each lines as group in c# using linq

I have an array of string that contains 1000 lines, how to take each 25 lines and group them into one text using linq c#. I can use loops , but I need the code using linq.
-1
votes
1 answer

How can I take over, another running application within a panel of my C# program?

What i'm trying to do is to take over another running application and attach it to a panel in my Form, somthing like this: private void button1_Click(object sender, EventArgs e) { Process p = Process.Start("notepad.exe"); …
Dan Burdetsky
  • 101
  • 2
  • 8
-1
votes
1 answer

Take variable from a PHP file using AJAX/JavaScript

I have a form that uses AJAX and Javascript to submit itself. HTML:

Sign Up Here

Username:
Sergiu Neagu
  • 118
  • 1
  • 10
-2
votes
1 answer

custom camera zoom Functionality IPhone Take Photo

I am successfully able to Make custom Zoom using Slider in my Custom Camera view using following code imagePickerController.cameraViewTransform = CGAffineTransformScale(initialTransform, MainSlider.value, MainSlider.value); Screen Looks Zoom as it…
Darshan Shah
  • 61
  • 2
  • 8
-2
votes
2 answers

Perl - take first 16 bytes from string

I have a string which contains 45f5f5ca1997b35bf09b8e0932b0d693967d0608a3c How can I take first 16 bytes of that string?
tomsk
  • 967
  • 2
  • 13
  • 29
-4
votes
1 answer

Taking photo from camera by C and win32 api

I would to get a still image (in jpg format) from any type of cameras plugged to my computer (USB and Serial) and then save it on my hard disk, so what the code you recommend me to write while I use C programming language and Win32 api, finally I…
Mond
  • 7
  • 1
  • 1
1 2 3
9
10